Post

Replies

Boosts

Views

Activity

Getting Command CodeSign failed with a nonzero exit code while doing the Archive in Xcode.
App is working in simulator. But when i am doing archive for production IPA file. That time i am getting 'Command CodeSign failed with a nonzero exit code'. App signing and keychain access are valid in xcode. I have tried code signing identity remove/add , certificate keychain access validation. Below error message are getting - CodeSign /Users/username/Library/Developer/Xcode/DerivedData/CvCare-gzbmawocpnufzmbznuhwulouslxo/Build/Intermediates.noindex/ArchiveIntermediates/CvCare/InstallationBuildProductsLocation/Applications/CvCare.app (in target 'CvCare' from project 'CvCare') cd /Users/username/Cordova_workspace/TestingCvCare/CvCare/platforms/ios Signing Identity: "Apple Distribution" Provisioning Profile: "iOS_distribution_profile" /usr/bin/codesign --force --sign --entitlements /Users/username/Library/Developer/Xcode/DerivedData/CvCare-gzbmawocpnufzmbznuhwulouslxo/Build/Intermediates.noindex/ArchiveIntermediates/CvCare/IntermediateBuildFilesPath/CvCare.build/Release-iphoneos/CvCare.build/CvCare.app.xcent --generate-entitlement-der /Users/username/Library/Developer/Xcode/DerivedData/CvCare-gzbmawocpnufzmbznuhwulouslxo/Build/Intermediates.noindex/ArchiveIntermediates/CvCare/InstallationBuildProductsLocation/Applications/CvCare.app /Users/username/Library/Developer/Xcode/DerivedData/CvCare-gzbmawocpnufzmbznuhwulouslxo/Build/Intermediates.noindex/ArchiveIntermediates/CvCare/InstallationBuildProductsLocation/Applications/CvCare.app: No such file or directory Command CodeSign failed with a nonzero exit code. Kindly help me out. Thanks, Bal Mukund Kumar
1
0
1k
Dec ’23
Xcode build error in NativeSettings.m
Hi, Getting error "undeclared identifier options" in NativeSettings.m while building in Xcode. The application is a hybrid app packaged with Cordova. We just changed the text values in "Info" tab for keys : 1.Privacy - Camera Usage Description 2.Privacy- Location when in use usage Description. Previously it was working fine. What could be the possible root cause for this error? Regards, Reshma
0
0
309
Aug ’21
NSTemporaryExceptionAllowsInsecureHTTPLoads not working
Hi,From my app, I am trying to load a HTTP site (http://m.tata-daewoo.com/) in a webview. I have configured my app’s info.plist file and added this site to ExceptionDomains in ATS with NSTemporaryExceptionAllowsInsecureHTTPLoads set to true.<key>NSAppTransportSecurity</key> <dict> <key>NSExceptionDomains</key> <dict> <key>m.tata-daewoo.com</key> <dict> <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key> <true/> </dict> </dict></dict>Still I'm unable to open this HTTP site from my app. I also treid using NSAllowsArbitraryLoadsInWebContent set to true, while removing ExceptionDomains. But that didn't work too.I also tried running this command in terminal.nscurl --ats-diagnostics --verbose http://m.tata-daewoo.comBut the Result is FAIL in all cases.Any idea what can be done to get this working?Thanks & Regards,Suman
3
0
3k
Jan ’20