以前,在“偏好设置”->“账户”中,点击刷新箭头/循环按钮会拉取一个包含所有新设备的新配置文件。
现在它只会下载您已经拥有的那些设备的配置文件。但是,如果您需要更新的配置文件由Xcode管理,则我找不到任何添加设备到该配置文件的方法!
以前,在“偏好设置”->“账户”中,点击刷新箭头/循环按钮会拉取一个包含所有新设备的新配置文件。
现在它只会下载您已经拥有的那些设备的配置文件。但是,如果您需要更新的配置文件由Xcode管理,则我找不到任何添加设备到该配置文件的方法!
我也遇到了这个问题,我使用的是Xcode 7.2
。然后按照以下步骤进行操作即可:
现在你就可以在新设备上运行应用程序了。
花了很多时间尝试解决Xcode 7上的同样问题,即刷新Xcode管理的配置文件。
在成员中心添加UDID后,对我有用的方法是从偏好设置 -> 账户中删除该帐户,然后再次添加它。这将更新所有配套文件。
在Xcode 8中,您不再需要在“会员中心”中添加设备,并且可以跳过一些繁琐的步骤。
您仍需完成以下步骤:
,
)。我刚从会员中心下载了配置文件,并在XCode中点击了“修复问题”。
我使用的是OSX 10.15和XCode 11.3 beta。
{
"ios": {
"debug": {
"codeSignIdentity": "iPhone Developer",
"developmentTeam": "DP7KW42777",
"packageType": "development"
},
"release": {
"codeSignIdentity": "iPhone Developer",
"developmentTeam": "DP7KW42777",
"packageType": "app-store"
}
}
}
<platform name="ios">
不再需要设置各种信息,例如隐藏状态栏
<config-file parent="NSBluetoothPeripheralUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} requires bluetooth access to function properly</string>
</config-file>
<config-file parent="NSCalendarsUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} requires calendar access to function properly</string>
</config-file>
<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} requires camera access to function properly</string>
</config-file>
<config-file parent="NSContactsUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} requires contacts access to function properly</string>
</config-file>
<config-file parent="NSLocationAlwaysAndWhenInUseUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} would like to check your location when app is active or in background</string>
</config-file>
<config-file parent="NSLocationAlwaysUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} would like to check your location when app is active or in background</string>
</config-file>
<config-file parent="NSLocationWhenInUseUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} would like to check your location when app is active or in background</string>
</config-file>
<config-file parent="NSMicrophoneUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} requires microphone access to function properly</string>
</config-file>
<config-file parent="NSMotionUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} requires motion detection access to function properly</string>
</config-file>
<config-file parent="NSPhotoLibraryUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} requires photo library access to function properly</string>
</config-file>
<config-file parent="NSRemindersUsageDescription" platform="ios" target="*-Info.plist">
<string>${EXECUTABLE_NAME} equires reminders access to function properly</string>
</config-file>
<config-file parent="UIStatusBarHidden" platform="ios" target="*-Info.plist">
<true/>
</config-file>
<config-file parent="UIViewControllerBasedStatusBarAppearance" platform="ios" target="*-Info.plist">
<false/>
</config-file>
标签
。<icon height="1024" src="resources/ios/icon/AppIcon.png" width="1024" />