Posts

Post not yet marked as solved
0 Replies
82 Views
Hi, I was working with URLSession.upload with background config. I came across this cancellation reason in URLError.BackgroundTaskCancelledReason. backgroundUpdatesDisabled Docs suggest that these are triggered while background tasks are disabled. Does it mean disabled by user? Can anyone please shed light on how this cancellation reason can occur? Who can disable the background upload (User or the system ...) and how?
Posted Last updated
.
Post not yet marked as solved
1 Replies
3.0k Views
Im using xcodebuild to archive and export the archive for a flutter application for ipa generation in azure devops. Used the following code for archive xcodebuild workspace Runner.xcworkspace scheme Runner sdk iphoneos configuration Release archive archivePath $PWD/build/Runner.xcarchive CODE_SIGN_STYLE=Manual Created a plist for export options xml ?xml version="1.0" encoding="UTF-8"? !DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd" plist version="1.0" dict keyuploadBitcode/key false/ keycompileBitcode/key false/ keyuploadSymbols/key false/ keyprovisioningProfiles/key dict keycom.companyn.appname/key stringComapnyAdHocProfile/string /dict keysigningCertificate/key stringiOS Distribution/string keysigningStyle/key stringmanual/string keymethod/key stringad-hoc/string /dict /plist Used the following code for export archive to ipa xcodebuild exportArchive archivePath $PWD/build/Runner.xcarchive exportOptionsPlist export.plist exportPath $PWD/build/Runner.ipa I get the error of Error Domain=IDEProvisioningErrorDomain Code=9 ""Runner.app" requires a provisioning profile." UserInfo={IDEDistributionIssueSeverity=3, NSLocalizedDescription="Runner.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property list.} The same app builds correctly with the above provisioning profile while building in Xcode. Can anyone suggest where I went wrong?
Posted Last updated
.