There is an internal API error.
Error Reason: Product name as program name, program name confusion
Workaround: Check the product Name and do not include Chinese and special characters. Added the bundle display Name: My program name in Info.plist. The program name is changed to English, and Product name is changed to the same.
-----------------------------------------------------------------------
When we changed the name of the project, when we ran the program, we were prompted not to find the app.
The reasons are as follows:
1. Because there are two target in a project, it is called Target A and target B! After the project name has been changed, the following error is reported when running in the emulator:
Ld:file not found:/users/xxx/library/developer/xcode/deriveddata/build/products/debug-iphonesimulator/xxx.app/ Xxx
Clang:error:linker command failed with exit code 1 (use-v to see invocation)
2. It is possible that the project name is different, it is recommended to change the project name according to the following path.
Build Setting----"Product Name---
If you check the project, the project name is no problem.
3. Here's another solution:
Xcode/build settings/packaging/private Headers Folder path and product Module name under name change to your project name.
Inspection works found that this is also true.
4. After several twists and turns, it was discovered that the project's target a and target B managed to confuse the problem. Press the path below
Product-> scheme-> Manage Schemes
Open the Schemes Admin panel, then delete the deleted, associate the associated, and the problem is resolved.
Some problems may be solved in the first two scenarios, but if a project has a problem with the management of target A and target B after changing the project name, a 4th solution will help you!
iOS there is an internal API error