This article mainly records ios related issues, most of which are related to version 0.60

1. The most common ios startup issues:

ld: library not found for -lDoubleConversion

Discussion Overflow solution

rm -rf node_modules
npm install
killall -9 node
npm start -- --reset-cache
react-native run-ios
----
react-native run-android
that worked but got stuck at 0% on the simulator device, so I deleted the APK off the simulator and ran react-native run-android again.
Copy the code

You can also try the following solutions

2. Problems related to ios certificates

You need to enter your account password every time you call the relevant certificate in Xcode for packaging or real machine debugging

Search to a solution more clear address main content screenshot

3. Real machine debugging function

Error reported during real machine debugging: The executable was signed with invalid Entitlements. The Entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).

Could not launch “demo” PAN iPhone has denied the launch request. Internal launch error: process launch failed: Unspecified

Solution link found: Check all certificates under targets

Screenshots of other related questions

The startup diagram is not displayed during the debugging of the real machine. There are black edges in the upper and lower parts of the APP, and obviously there are startup pages of various sizes

4. Ios packaging (Archive feature in Xcode)

Archive was accidentally closed after packaging. What if I open it again? Click Window -> Organizer in Xcode

Error uploading after packing in Xcode

After applying for an AppID, you need to add it to the Apple Developer account. First, you need to create an app corresponding to this ID, so that the package uploaded will know where to upload

No suitable Application records were found. Verify your bundle identifier

ERROR ITMS-90034:

ERROR ITMS-90034: "Missing or invalid signature. The bundle 'com.mytijian.apptest' at bundle path 
'Payload/app.app' is not signed using an Apple submission certificate."
Copy the code

ERROR ITMS-90034 “Missing or invalid signature.The bundle’xxx.xxx.xxx’ a

Summarized as:

  1. Check whether the certificate has expired
  2. Check the trust mode of the certificate, not “always trust”, change to “use system mode”

Ios startup error ld: Library not found for-LDafNetworking

clang: error: linker command failed with exit code 1 (use -v to see invocation)

In addition, please do not check the archive in appTests, otherwise the packaging error will be reported

IOS Audit Records

Rejected twice so far:

The first rejection

One of the reasons: mainly because the data on the screen shot provided does not match the real data. The data content on the screen shot is our UI sample diagram, and the data in the screen shot is just an example, which is not good from the email sent

Reason 2: Our app was logged in through the verification code of our mobile phone. When we submitted our app for review for the first time, we did not provide the account password because the verification code was dynamic (because we could not only provide the account without the password). This situation was explained in the remarks, but this was not possible and was rejected

Solutions:

1. The designer remakes the diagram and uses real data instead of test data 2. Prepare a fixed account password for special handling when logging in

Rejected for the second time

With our App crashing, we went on an inspection and found that our Webview has the ability to upload profile pictures, so we didn’t apply for camera permission. We added it and submitted it for review again