Xamarin.Forms iOS real test package

Waiting for the packaging process in the record about how to make a debug package to test the process on a real machine
1. The need to create a new project in XCode, select iOS ==> Single View App, click Next

2. In the new bomb box requires Apple Id, you can use your Apple Id, the corresponding Team can select individual Personal Team, and then the rest of the
Organization Name, Organization Indetifier, etc. in order to fill out. Next

3. Fill in turn Version information such as correspondence in a new window, where package will ultimately generate the required certificate file. The need for additional attention to the value of the Bundle Identifier, will be used in the next operation. To work here in Xcode is complete.

4. Back Visual studio for mac selected .iOS the Project, open Info.plist file, the identifier of the bundle (Bundle Identifier) ​​to change the value recorded above.

The debug will 5.Visual studio for mac machine type selection (need cable connection) for your tester

You might encounter this problem:
1. Invalid iTunesArtwork Dimensions (1536x1536) for '/Users/developer4/Library/Caches/Xamarin/mtbs/builds/ProjectName.iOS/e91a9151da4817a1c6113fda15a82a6d/Resources/[email protected]' ProjectName. .iOS
solution: [email protected] excluded from the project. https://forums.xamarin.com/discussion/128666/invalid-itunesartwork-dimensions-1536x1536


2. Cound not connect to debugger

A. may be the first to run on a real device, you need to connect to the network test equipment used (authentication information may be sent to the App Id developers), developers need to trust (trust developer), Setting = "General

B. Visual studio for mac own bug, reboot the device, revel resolved. (https://developercommunity.visualstudio.com/content/problem/209829/cannot-connect-debugger-after-update-03062018.html)

another: it is recommended to run once in Xcode, then use visual studio for mac packaging. Because the latter does not suggest any wrong, just tell you pack failed.

This can only do it for Debug package Dev and QA testing purposes, Release package requires a certificate, and then add it later.

Guess you like

Origin www.cnblogs.com/dogtwo0214/p/11233993.html