You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two libexample.a files can be built and found in build/Release-iphoneos and build/Release-iphonesimulator path, but with the --target install config, following error is raised:
[iOS combined] Current: /Users/ewind/Downloads/ios-cmake/example/example-lib/../example-app/example-lib/lib/libexample.a
[iOS combined] Corresponding: /Users/ewind/Downloads/ios-cmake/example/example-lib/build/Release-iphonesimulator/libexample.a
fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: /Users/ewind/Downloads/ios-cmake/example/example-lib/build/Release-iphonesimulator/libexample.a and /Users/ewind/Downloads/ios-cmake/example/example-lib/../example-app/example-lib/lib/libexample.a have the same architectures (arm64) and can't be in the same fat output fileCMake Error at /usr/local/Cellar/cmake/3.15.2/share/cmake/Modules/CMakeIOSInstallCombined.cmake:306 (message): Command failed: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo;-create;/Users/ewind/Downloads/ios-cmake/example/example-lib/build/Release-iphonesimulator/libexample.a;/Users/ewind/Downloads/ios-cmake/example/example-lib/../example-app/example-lib/lib/libexample.a;-output;/Users/ewind/Downloads/ios-cmake/example/example-lib/../example-app/example-lib/lib/libexample.aCall Stack (most recent call first): cmake_install.cmake:49 (ios_install_combined)make: *** [install_buildpart_0] Error 1** BUILD FAILED **The following build commands failed: PhaseScriptExecution CMake\ PostBuild\ Rules build/example-ios.build/Release-iphoneos/install.build/Script-149BD7B82F7D46F2B9BFCFEC.sh
Describe the bug
The default example-lib fails in install process with the
-DPLATFORM=OS64COMBINED
config.To Reproduce
Using the same operation following the README:
Two
libexample.a
files can be built and found inbuild/Release-iphoneos
andbuild/Release-iphonesimulator
path, but with the--target install
config, following error is raised:Environment
The text was updated successfully, but these errors were encountered: