1. What should I do if an error occurs after the running of iOS import resources?
Xcode 12.X compilation prompt: Building for iOS Simulator, but the linked and embedded framework '.framework'...
Navigate to Build Settings > Build Options > Validate Workspace, and set Validate Workspace to 'Yes' and press Run.
Note:
Once 'Validate Workspace' is set to 'Yes' and the compilation is completed, you can set it back to 'No' and the application will work normally.
2. What should I do if the filter settings don't take effect?
Check whether the values are set properly (value range: 0-100). You may have set too small a value so the effect is not obvious.
3. What should I do if there's an error upon dSYM generation during compilation of the iOS Demo?
Error message:
PhaseScriptExecution CMake\\ PostBuild\\ Rules build/XMagicDemo.build/Debug-iphoneos/XMagicDemo.build/Script-81731F743E244CF2B089C1BF.sh
cd /Users/zhenli/Downloads/xmagic_s106
/bin/sh -c /Users/zhenli/Downloads/xmagic_s106/build/XMagicDemo.build/Debug-iphoneos/XMagicDemo.build/Script-81731F743E244CF2B089C1BF.sh
Command /bin/sh failed with exit code 1
Problem analysis: The cause is the failure of re-signing libpag.framework
and Masonary.framework
.
Solution:
1.1 Open demo/copy_framework.sh.
1.2 Change $(which cmake)
to an absolute local cmake path.
1.3 Replace the Apple Development: ......
signature with your own account's signature.
4. What should I do if a license error is displayed when I enter the homepage of the iOS Demo?
Check the license failure error code printed in the log. If you are using a local license file, check whether the file has been added to the project.
5. What should I do upon a compilation error in the iOS Demo?
Error message:
unexpected service error: build aborted due to an internal error: unable to write manifest to-xxxx-manifest.xcbuild': mkdir(/data, S_IRWXU | S_IRWXG | S_IRWXO): Read-only file system (30):
Solution:
1.1 Navigate to File > Project settings > Build System, and select Legacy Build System.
1.2 For Xcode 13.0 and later versions, navigate to File > Workspace Settings and check Do not show a diagnostic issue about build system deprecation.
Was this page helpful?