FBSOpenApplicationErrorDomain Code=3
iOS Simulator -> Reset Contents and Settings...
Worked for me
iOS Simulator -> Reset Contents and Settings... -> Reset
FBSOpenApplicationErrorDomain error 3 when trying to launch a watch kit app on a physical device
This was a permissions issue on the Apple Watch.
To fix:
Launch the app once manually (not through Xcode).
You will see the following message:
Untrusted App Developer
Do you trust the developer "..." to run apps on your Apple Watch?
[Trust]
[Don't Trust]Tap Trust.
- Now you can run the app through Xcode with no issues.
FBSOpenApplicationErrorDomain error 1
I had the same error after updating Xcode to v7.0. After few hours struggling, I found that there was some empty environment variable setup to be passed for Run action in my active scheme (have no idea why it was there). Removing this empty environment variable resolved the issue immediately.
iOS Error: FBSOpenApplicationErrorDomain error 5. What does this mean?
I would suggest you try to simplify. I have answered a very similar problem here that is in Swift. I would simplify the logic to the following:
WK Code
- (IBAction)sendRequest {
[InterfaceController openParentApplication:request reply:^(NSDictionary *replyInfo, NSError *error) {
NSLog(@"Reply Info: %@", replyInfo);
NSLog(@"Error: %@", error);
}];
}
iOS Code
- (void)application:(UIApplication *)application handleWatchKitExtensionRequest:(NSDictionary *)userInfo reply:(void (^)(NSDictionary *))reply {
NSDictionary *response = @{@"replyKey" : @"replyValue"};
reply(response);
}
Once you have this working, then start adding the additional parsing one step at a time. You can also attach the debugger to the iOS app to step through the call by following these instructions. You may not be calling the reply block on the iOS app and you don't even know it.
FBSOpenApplicationErrorDomain code =4 error
This worked for me:
iOS Simulator -> Reset Contents and Settings... -> Reset
referenced from Qiita: Unable to run app in Simulator エラーの対応方法.
xcrun error domain=FBSOpenApplicationErrorDomain, code=1
You're building for iphoneos (I can see a "-sdk iphoneos" parameter in your xcodebuild command line). Then you're trying to install the resulting .app object onto the simulator (!!).
That will produce an architecture mismatch, and thus that cryptic runtime error.
Change your compilation commands from "-sdk iphoneos" to something like "-sdk iphonesimulator9.3" (in case this is the version you need).
If in doubt, type "xcodebuild -showsdks" and a list of installed SDK's will appear on screen. Choose the one you need.
You'll probably need to mess with -arch parameter also and change it from ARM to i386 (Remember the Simulator runs onto your intel MAC ).
Try and tell us if it works.
Simulator error FBSSystemServiceDomain code 4
Go to the iOS Simulator menu and select Reset Content and Settings.
Alternatively, you could quit and reopen the Simulator.
Related Topics
iOS Facebook Login "Given Url Is Not Allowed by the Application Configuration"
Iphone:Get the File Path Which Is Within Subfolder of Resource Folder
How to Change iPhone Uitableview Delete Button Title While Editing It
Rounding Uiimage and Adding a Border
Nsuserdefaults Synchronize Not Saving On
Preventing Avcapturevideopreviewlayer from Rotating, But Allow UI Layer to Rotate with Orientation
Undefined Symbols for Architecture Armv7 for Cocoapods Libraries
What Is Difference Between Self.Timer = Nil VS [Self.Timer Invalidate] in iOS
Get Created Date and Last Login Date from Firuser with Firebase 3
How to Localize Label Strings in iOS for a Beginner
Avplayer with Playback Controls of Avplayerviewcontroller
How to Take a Snapshot of a Uiview That Isn't Rendered
Xcode 9 Crash When Open Storyboard
Swift Framework Does Not Include Symbols from Extensions to Generic Structs
Game Engine Collison Bitmask... Why 0X01 etc
Obtaining Bluetooth Le Scan Response Data with iOS