iOS Question Code Sign failed

siuming

Member
Licensed User
Longtime User
Hi, I tried compiling/run a very simple app after setting up a local mac build server and got below error (near end). I had the key folder stored the cert and provisioning already. At end it said code sign failed, can anyone can help?

Thanks.


Parsing code. 0.05
Compiling code. 0.14
Compiling debugger engine code. 0.75
Building Xcode project 0.11
Sending data to remote compiler. Error
Out: Build settings from command line:
ARCHS = arm64
CODE_SIGN_IDENTITY = iPhone
CONFIGURATION_BUILD_DIR = /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload
OTHER_CODE_SIGN_FLAGS = --keychain system
PRODUCT_NAME = MyAppTest
PROVISIONING_PROFILE = 82d1be55-a2f8-4211-a75f-ee0d19a2ddae
=== BUILD TARGET B4iProject OF PROJECT B4iProject WITH CONFIGURATION Release ===
Check dependencies
warning: all apps should include an armv7 architecture (current ARCHS = "arm64").
Write auxiliary files
/bin/mkdir -p /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build
write-file /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-project-headers.hmap
write-file /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest.hmap
write-file /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-own-target-headers.hmap
write-file /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-generated-files.hmap
write-file /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-all-target-headers.hmap
/bin/mkdir -p /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64
write-file /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/MyAppTest.LinkFileList
write-file /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-all-non-framework-target-headers.hmap
Create product structure
/bin/mkdir -p /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app
ProcessInfoPlistFile Payload/MyAppTest.app/Info.plist B4iProject/B4iProject-Info.plist
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
builtin-infoPlistUtility /Users/ming/Documents/macserver-aa/UploadedProjects/system/B4iProject/B4iProject-Info.plist -genpkginfo /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app/PkgInfo -expandbuildsettings -format binary -platform iphoneos -o /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app/Info.plist
ProcessPCH /var/folders/2t/6rvj_bxs1jlggl8rpcnd_zgr0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-duldycyagpmuovhcoirebkcvlqnq/B4iProject-Prefix.pch.pch B4iProject/B4iProject-Prefix.pch normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c-header -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-generated-files.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-own-target-headers.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-all-target-headers.hmap -iquote /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-project-headers.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload -F../../Libs -MD -MT dependencies -MF /var/folders/2t/6rvj_bxs1jlggl8rpcnd_zgr0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-duldycyagpmuovhcoirebkcvlqnq/B4iProject-Prefix.pch.d -c /Users/ming/Documents/macserver-aa/UploadedProjects/system/B4iProject/B4iProject-Prefix.pch -o /var/folders/2t/6rvj_bxs1jlggl8rpcnd_zgr0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-duldycyagpmuovhcoirebkcvlqnq/B4iProject-Prefix.pch.pch --serialize-diagnostics /var/folders/2t/6rvj_bxs1jlggl8rpcnd_zgr0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-duldycyagpmuovhcoirebkcvlqnq/B4iProject-Prefix.pch.dia
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o B4iProject/main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-generated-files.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-own-target-headers.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-all-target-headers.hmap -iquote /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-project-headers.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload -F../../Libs -include /var/folders/2t/6rvj_bxs1jlggl8rpcnd_zgr0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-duldycyagpmuovhcoirebkcvlqnq/B4iProject-Prefix.pch -MMD -MT dependencies -MF /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.d --serialize-diagnostics /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.dia -c /Users/ming/Documents/macserver-aa/UploadedProjects/system/B4iProject/main.m -o /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/main.o
CompileC build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o B4iProject/b4i_main.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -Wnon-modular-include-in-framework-module -Werror=non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-receiver-is-weak -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DNS_BLOCK_ASSERTIONS=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-generated-files.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-own-target-headers.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-all-target-headers.hmap -iquote /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest-project-headers.hmap -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources/arm64 -I/Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/DerivedSources -F/Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload -F../../Libs -include /var/folders/2t/6rvj_bxs1jlggl8rpcnd_zgr0000gn/C/com.apple.DeveloperTools/6.1-6A1052d/Xcode/SharedPrecompiledHeaders/B4iProject-Prefix-duldycyagpmuovhcoirebkcvlqnq/B4iProject-Prefix.pch -MMD -MT dependencies -MF /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.d --serialize-diagnostics /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.dia -c /Users/ming/Documents/macserver-aa/UploadedProjects/system/B4iProject/b4i_main.m -o /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/b4i_main.o
Ld Payload/MyAppTest.app/MyAppTest normal arm64
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -L/Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload -L../../Libs -F/Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload -F../../Libs -filelist /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/MyAppTest.LinkFileList -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=7.0 -lCore -framework Foundation -framework CoreGraphics -framework UIKit -framework AVFoundation -liDebug -Xlinker -dependency_info -Xlinker /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/Objects-normal/arm64/MyAppTest_dependency_info.dat -o /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app/MyAppTest
CopyPNGFile Payload/MyAppTest.app/icon-60.png icon-60.png
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng /Users/ming/Documents/macserver-aa/UploadedProjects/system/icon-60.png /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app/icon-60.png
CopyPNGFile
Payload/MyAppTest.app/[email protected] [email protected]
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng
Payload/MyAppTest.app/[email protected] [email protected]
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng
Payload/MyAppTest.app/[email protected] [email protected]
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng
Payload/MyAppTest.app/[email protected] [email protected]
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng
Payload/MyAppTest.app/[email protected] [email protected]
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/copypng /Users/ming/Documents/macserver-aa/UploadedProjects/system/[email protected] /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app/[email protected]
CpResource b4i_host_ip.txt Payload/MyAppTest.app/b4i_host_ip.txt
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/ming/Documents/macserver-aa/UploadedProjects/system/b4i_host_ip.txt /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app
ProcessProductPackaging /Users/ming/Library/MobileDevice/Provisioning\ Profiles/82d1be55-a2f8-4211-a75f-ee0d19a2ddae/b4i.mobileprovision Payload/MyAppTest.app/embedded.mobileprovision
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
builtin-productPackagingUtility /Users/ming/Library/MobileDevice/Provisioning\ Profiles/82d1be55-a2f8-4211-a75f-ee0d19a2ddae/b4i.mobileprovision -o /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app/embedded.mobileprovision
Touch Payload/MyAppTest.app
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
/usr/bin/touch -c /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app
ProcessProductPackaging /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/Entitlements.plist build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest.app.xcent
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"
builtin-productPackagingUtility /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/Entitlements.plist -entitlements -format xml -o /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest.app.xcent
CodeSign Payload/MyAppTest.app
cd /Users/ming/Documents/macserver-aa/UploadedProjects/system
export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin"

Signing Identity: "iPhone Developer: Siu Ming Ng (GE82S92WHD)"
Provisioning Profile: "development-profile-b4i"
(82d1be55-a2f8-4211-a75f-ee0d19a2ddae)
/usr/bin/codesign --force --sign E6AAFD2B2BB3C1AF34AD5BB68EFE86E02181FE4F --keychain system --entitlements /Users/ming/Documents/macserver-aa/UploadedProjects/system/build/B4iProject.build/Release-iphoneos/B4iProject.build/MyAppTest.app.xcent /Users/ming/Documents/macserver-aa/UploadedProjects/system/Payload/MyAppTest.app
E6AAFD2B2BB3C1AF34AD5BB68EFE86E02181FE4F: no identity found
Command /usr/bin/codesign failed with exit code 1

Error: ** BUILD FAILED **

The following build commands failed:
CodeSign Payload/MyAppTest.app

(1 failure)
 

siuming

Member
Licensed User
Longtime User
I've sent you a temporary user id for the hosted builder. See if it works with it. If not then you need to delete the key folder and recreate the certificate and provisioning profiles (delete the existing certificate and profiles).

It doesn't work, below messages for your referene. It said Invalid token.

Parsing code. 0.06
Compiling code. 0.30
Compiling debugger engine code. 1.34
Building Xcode project 0.11
Sending data to remote compiler. Error
Invalid token
 
Upvote 0

siuming

Member
Licensed User
Longtime User
I delete the key folder and use another folder as key folder. Then clean up all cert and provisioning in Apple Developer site, then re-gen the cert , app id, provisioning. Downloaded the cert and provisioning to new key folder. Also set new key path in IDE. Same error happen (using the temp token and your hosted build server). Please help.
 
Upvote 0

siuming

Member
Licensed User
Longtime User
I managed to get it compiled and code signed after I grab the B4i.p12 cert file in the key folder into my MAC keychain.
 
Upvote 0
Top