I use DropBox iOS SDK to synchronise update files of my application and load Metadata. I have an Error when i execute the project that is:
Error loading metadata: Error Domain=dropbox.com Code=403 "The
operation couldn’t be completed. (dropbox.com error 403.)"
UserInfo=0x8a845d0 {path=/, error=Parameter not found: oauth_token}
error making request to /1/metadata/sandbox - (403) Parameter not
found: oauth_token
How can i install and enable oauth extension ?
Related
I'm trying to launch the application on a real device from Xcode, but after building correctly the app doesn't launch.
The error is the following:
Unable to launch bundle.identifier Domain: com.apple.platform.iphoneos
Code: -12
-- Request to launch "bundle.identifier" failed. Domain: com.apple.dt.deviceprocesscontrolservice Code: 2 Failure Reason: The
operation couldn’t be completed. Application info provider
(FBSApplicationLibrary) returned nil for "bundle.identifier" : Failed
to launch process with bundle identifier 'bundle.identifier'.
-- The operation couldn’t be completed. Application info provider (FBSApplicationLibrary) returned nil for "bundle.identifier" Domain:
FBSOpenApplicationErrorDomain Code: 4 Failure Reason: Application info
provider (FBSApplicationLibrary) returned nil for "bundle.identifier"
User Info: {
BSErrorCodeDescription = NotFound; }
It started giving me this error when i changed bundle identifier to the application. I also tried to change the bundle identifier directly from info.plist and not only from project > Targets but the error persists.
I'm trying to download a language translation model from Google MLKit. I can download the model successfully on the main iOS app, but when I try to download it on the keyboard extension app, I receive an error: "A server with the specified hostname could not be found."
testKeyboard[43687:3987699] [] networkd_settings_read_from_file Sandbox is preventing this process from reading networkd settings file at "/Library/Preferences/com.apple.networkd.plist", please add an exception.
testKeyboard[43542:3979636] [discovery] [d 6BF0C0BD-3B78-43CD-A23F-26023D59A4F3] <PKHost:0x283acc400> Failed discovery: Error Domain=PlugInKit Code=4 "Connection invalid" UserInfo={NSLocalizedDescription=Connection invalid}.
testKeyboard[43542:3979636] [xpc] XPC error sending request to pkd: Connection invalid
testKeyboard[43542:3979662] [] nw_resolver_can_use_dns_xpc_block_invoke Sandbox does not allow access to com.apple.dnssd.service
testKeyboard[43542:3979662] dnssd_clientstub ConnectToServer: connect() failed path:/var/run/mDNSResponder Socket:9 Err:-1 Errno:1 Operation not permitted
testKeyboard[43542:3979662] [connection] nw_resolver_create_dns_service_locked [C1] DNSServiceCreateDelegateConnection failed: ServiceNotRunning(-65563)
testKeyboard[43542:3979662] Task <38FA4936-22C4-4E80-BECC-1D592945BE52>.<1> HTTP load failed, 0/0 bytes (error code: -1003 [10:-72000])
testKeyboard[43542:3979662] Task <38FA4936-22C4-4E80-BECC-1D592945BE52>.<1> finished with error [-1003] Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={_kCFStreamErrorCodeKey=-72000, NSUnderlyingError=0x2821c14a0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorCodeKey=-72000, _kCFStreamErrorDomainKey=10}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDownloadTask <38FA4936-22C4-4E80-BECC-1D592945BE52>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDownloadTask <38FA4936-22C4-4E80-BECC-1D592945BE52>.<1>"
), NSLocalizedDescription=A server with the specified hostname could not be found., NSErrorFailingURLStringKey=https://redirector.gvt1.com/edgedl/translate/offline/v5/high/r24/en_es.zip, NSErrorFailingURLKey=https://redirector.gvt1.com/edgedl/translate/offline/v5/high/r24/en_es.zip, _kCFStreamErrorDomainKey=10}
error downloading Optional(Error Domain=com.google.mlkit Code=2 "Failed to download the model from the server." UserInfo={NSLocalizedDescription=Failed to download the model from the server.})
I'm using the same code to download the model according to Google's "Translate Text with MLKit on iOS" documentation in the KeyboardViewController's viewDidLoad() function:
let options = TranslatorOptions(sourceLanguage: .english, targetLanguage: .spanish)
self.translator = Translator.translator(options: options)
let conditions = ModelDownloadConditions(allowsCellularAccess: true, allowsBackgroundDownloading: true )
self.translator!.downloadModelIfNeeded(with: conditions) { error in
guard error == nil else {
print("error downloading", error)
return
}
print("Model downloaded successfully")
}
My Info.plist settings are such:
"RequestsOpenAccess" as 1
"App Transport Security Settings" > "Allow Arbitrary Loads" as YES
I don't understand what is going on here. Why am I able to download the ML Kit language model on the main app, but not on the keyboard extension? Any help appreciated.
The issue is with your project's Sandbox settings. Go to your project page / Signing & Capabilities / App Sandbox (Xcode 13.2) and then enable Outgoing Connections (Client) which will allow your app to make http calls.
I'm having this exact same issue:
https://github.com/facebook/react-native/issues/26152
This is on react-native 0.60.4
I'm able to have a successful build in Xcode, but I'm not able launch the app on a physical device.
This is the error that I'm given:
This is the readout from the console:
Details
Unable to launch com.news.arg
Domain: com.apple.platform.iphoneos
Code: -12
--
Request to launch com.news.arg failed.
Domain: com.apple.dt.deviceprocesscontrolservice
Code: 2
Failure Reason: The operation couldn’t be completed. Application "com.news.arg" is unknown to FrontBoard. : Failed to launch process with bundle identifier 'com.news.arg'.
--
The operation couldn’t be completed. Application "com.news.arg" is unknown to FrontBoard.
Domain: FBSOpenApplicationErrorDomain
Code: 4
Failure Reason: Application "com.news.arg" is unknown to FrontBoard.
User Info: {
BSErrorCodeDescription = NotFound;
}
--
Someone said on the react native reddit that expo posted a workaround on their twitter, but we were unable to find it when we went back and looked.
I'm using the Apple MusicKit in my app. I had the authorization setup correctly and everything was working fine for a long time. Recently since the update to iOS 12 I'm seeing these errors
2018-12-02 19:16:46.511567-0500 Project2[30649:3022463] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=9 "(null)""
2018-12-02 19:16:46.512835-0500 Project2[30649:3022463] SSAccountStore: Failed to fetch the backing accounts. error = Error Domain=com.apple.accounts Code=9 "(null)"
2018-12-02 19:16:46.518199-0500 Project2[30649:3022586] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=9 "(null)""
2018-12-02 19:16:46.518407-0500 Project2[30649:3022586] SSAccountStore: Failed to fetch the backing accounts. error = Error Domain=com.apple.accounts Code=9 "(null)"
2018-12-02 19:16:46.524685-0500 Project2[30649:3022586] SSAccountStore: Unable to get the local account. error = Error Domain=SSErrorDomain Code=100 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store}
Is anyone else facing the same issue? Is there some change that I'm supposed to make? Or redo the token? I see this asked on the apple developers forum with no response https://forums.developer.apple.com/thread/105635
I am integrating Twitter in my iOS app using the Fabric app. I've followed all the steps but the process is stuck in the "Verifying installation phase".
I can see this error in the Xcode console log:
[Fabric] Unable to complete settings download Error
Domain=NSCocoaErrorDomain Code=4 "The operation couldn’t be completed.
(Cocoa error 4.)" UserInfo=0x7fac0ac1d1a0
{NSSourceFilePathErrorKey=/spi/v2/platforms/ios/apps/com.xxxxx.yyyyy/settings,
NSUserStringVariant=(
Move
), NSDestinationFilePath=/Users/xxxxxx/Library/Developer/CoreSimulator/Devices/448B0F63-C299-46E5-B455-D4666610023E/data/Containers/Data/Application/F3B667A7-4937-4040-93BD-7727F433E2B2/Library/Caches/io.fabric.sdk.ios.data/com.xxxxx.yyyyy/settings.json,
NSFilePath=/spi/v2/platforms/ios/apps/com.xxxxx.yyyyy/settings,
NSUnderlyingError=0x7fac0ac1c3a0 "The operation couldn’t be completed.
No such file or directory"}
[Fabric] failed to download settings Error Domain=NSCocoaErrorDomain
Code=4 "The operation couldn’t be completed. (Cocoa error 4.)"
UserInfo=0x7fac0ac1d1a0
{NSSourceFilePathErrorKey=/spi/v2/platforms/ios/apps/com.xxxxx.yyyyy/settings,
NSUserStringVariant=(
Move
), NSDestinationFilePath=/Users/xxxxxxxx/Library/Developer/CoreSimulator/Devices/448B0F63-C299-46E5-B455-D4666610023E/data/Containers/Data/Application/F3B667A7-4937-4040-93BD-7727F433E2B2/Library/Caches/io.fabric.sdk.ios.data/com.xxxxx.yyyyy/settings.json,
NSFilePath=/spi/v2/platforms/ios/apps/com.xxxxx.yyyyy/settings,
NSUnderlyingError=0x7fac0ac1c3a0 "The operation couldn’t be completed.
No such file or directory"}
I've already Googled a lot, restarting and so on... but nothing worked.
Any idea?
the problem has been solved removing another crash reporting tools (AppPulse) that still was in the app.