Ive been making iOS builds fine today, then I added (since I dont have https set up yet I thought this would help - is that a work around right now ?)
ios.plistInject = <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict>
/usr/bin/codesign --force --sign CE8B5C7B76F53BD5AE8BEBA262BD2C3E8BDFAA9D --entitlements /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3305672187286748075xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/IntermediateBuildFilesPath/MyApplication.build/Release-iphoneos/MyApplication.build/MyApplication.app.xcent --timestamp=none /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build3305672187286748075xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app
CE8B5C7B76F53BD5AE8BEBA262BD2C3E8BDFAA9D: no identity found
Command /usr/bin/codesign failed with exit code 1
** ARCHIVE FAILED **
The following build commands failed:
CodeSign build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app
(1 failure)
Failed xcodebuild step
If I remove the injection it begins to work again, why is that ?
Im even getting different errors when i send an unchanged build:
PhaseScriptExecution [CP]\ Embed\ Pods\ Frameworks build/Build/Intermediates/ArchiveIntermediates/MyApplication/IntermediateBuildFilesPath/MyApplication.build/Release-iphoneos/MyApplication.build/Script-5F49186A9EA6BF61C538BF42.sh
cd /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist
/bin/sh -c /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/IntermediateBuildFilesPath/MyApplication.build/Release-iphoneos/MyApplication.build/Script-5F49186A9EA6BF61C538BF42.sh
mkdir -p /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/BuildProductsPath/Release-iphoneos/MyApplication.app/Frameworks
PhaseScriptExecution [CP]\ Copy\ Pods\ Resources build/Build/Intermediates/ArchiveIntermediates/MyApplication/IntermediateBuildFilesPath/MyApplication.build/Release-iphoneos/MyApplication.build/Script-7D21A34A534A51B49AC11CE2.sh
cd /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist
/bin/sh -c /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/IntermediateBuildFilesPath/MyApplication.build/Release-iphoneos/MyApplication.build/Script-7D21A34A534A51B49AC11CE2.sh
building file list ... done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
building file list ... done
sent 29 bytes received 20 bytes 98.00 bytes/sec
total size is 0 speedup is 0.00
Strip build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app/MyApplication
cd /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist
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/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app/MyApplication
SetOwnerAndGroup administrator:staff build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app
cd /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist
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"
/usr/sbin/chown -RH administrator:staff /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app
SetMode u+w,go-w,a+rX build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app
cd /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist
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"
/bin/chmod -RH u+w,go-w,a+rX /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app
ProcessProductPackaging /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/TempProfile.mobileprovision build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app/embedded.mobileprovision
cd /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist
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"
builtin-productPackagingUtility /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/TempProfile.mobileprovision -o /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build6078514305323017734xxx/dist/build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app/embedded.mobileprovision
error: class '(null)' of input object does not respond to either selector writeToFile:options:error: or writeToFile:atomically
** ARCHIVE FAILED **
The following build commands failed:
ProcessProductPackaging /Users/administrator/Library/MobileDevice/Provisioning\ Profiles/TempProfile.mobileprovision build/Build/Intermediates/ArchiveIntermediates/MyApplication/InstallationBuildProductsLocation/Applications/MyApplication.app/embedded.mobileprovision
(1 failure)
Failed xcodebuild step