Xcode command line build and archive error -


i trying build , archive project create .ipa via commandline using below command

$ xcodebuild archive -project test.xcodeproj -scheme "test" -archivepath /build 

but gives below error

** archive failed **  following build commands failed: ld /users/user1/library/developer/xcode/deriveddata/test-gymccixkvyhthdhhxixgplbqdrhk/build/intermediates/archiveintermediates/test/intermediatebuildfilespath/test.build/release-iphoneos/test.build/objects-normal/arm64/test normal arm64  ld /users/user1/library/developer/xcode/deriveddata/test-gymccixkvyhthdhhxixgplbqdrhk/build/intermediates/archiveintermediates/test/intermediatebuildfilespath/test.build/release-iphoneos/test.build/objects-normal/armv7/test normal armv7 

am missing something?

we need more information. suspect however, /build not writeable directory.

for example of how build scripts see project:

https://github.com/calabash/ios-smoke-test-app/blob/master/calsmokeapp/makefile


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -