Compile an error and workaround for iOS apps using the Xcodebuild command line

Source: Internet
Author: User

There is a strange problem with using Automation to build the iphone app today, Xcode compilation is good, but the Xcodebuild command line compiles the following error in the iOS compiler, the StackOverflow does not find the relevant information, look at the development of iOS do not have command-line tools AH. After careful analysis of the error message, the workaround found is to delete the frameworks below the project directory Corefoundation.framework


/applications/xcode.app/contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/strip:dynamic stub Library can ' t be changed once created:/applications/xcode.app/contents/developer/platforms/iphoneos.platform/ Developer/sdks/iphoneos.sdk/system/library/frameworks/corefoundation.framework/corefoundation (For Architecture ARMV7)
error:strip/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/sdks/ Iphoneos8.3.sdk/system/library/frameworks/corefoundation.framework/corefoundation:/Applications/Xcode.app/ Contents/developer/toolchains/xcodedefault.xctoolchain/usr/bin/strip exited with 1


processproductpackaging/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/sdks/ iphoneos8.3.sdk/entitlements.plist/users/zhangxitao/library/developer/xcode/deriveddata/ Salesphone-gwggzuiqqvbllqbzkptfzkxaxouc/build/intermediates/salesphone.build/release-iphoneos/salesphone.build /corefoundation.framework.xcent
Cd/users/zhangxitao/pycharmprojects/appgen/work/net.znkeji/iphone
Export Path= "/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/usr/bin:/ applications/xcode.app/contents/developer/usr/bin:/users/zhangxitao/anaconda/bin:/users/zhangxitao/app/ Mongodb-osx-x86_64-2.6.5/bin:/usr/local/opt/coreutils/libexec/gnubin:/users/zhangxitao/npm/bin:/usr/local/bin :/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/users/zhangxitao/downloads/apache-maven-3.2.1/bin:/users/ Zhangxitao/app/sdk/tools:/users/zhangxitao/app/sdk/platform-tools:/users/zhangxitao/app/adt-bundle-mac-x86_ 64-20131030/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin:/users/zhangxitao/work/ Spring-roo-1.2.5.release/bin "
builtin-productpackagingutility/applications/xcode.app/contents/developer/platforms/iphoneos.platform/ Developer/sdks/iphoneos8.3.sdk/entitlements.plist-entitlements-format Xml-o/users/zhangxitao/library/developer/ xcode/deriveddata/salesphone-gwggzuiqqvbllqbzkptfzkxaxouc/build/intermediates/salesphone.build/ Release-iphoneos/salesphone.build/corefoundation.framework.xcent


* * BUILD FAILED * *




The following build commands failed:
pbxcp/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/sdks/iphoneos8.3.sdk/ System/library/frameworks/corefoundation.framework Build2/salesphone.app/frameworks/corefoundation.framework
processproductpackaging/applications/xcode.app/contents/developer/platforms/iphoneos.platform/developer/sdks/ iphoneos8.3.sdk/entitlements.plist/users/zhangxitao/library/developer/xcode/deriveddata/ Salesphone-gwggzuiqqvbllqbzkptfzkxaxouc/build/intermediates/salesphone.build/release-iphoneos/salesphone.build /corefoundation.framework.xcent
(2 failures)

Compile an error and workaround for iOS apps using the Xcodebuild command line

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.