habe ich nur noch eine Uhr App zu meinem Projekt und versuchen:FBSOpenApplicationErrorDomain-Code = 3
override func awakeWithContext(context: AnyObject?) {
super.awakeWithContext(context)
let res = WKInterfaceController.openParentApplication(["key" : "value"]) { (replyInfo, error) -> Void in
print("replyInfo : \(replyInfo) + error \(error)")
}
print(res) // true here
}
In meinem AppDelegate schrieb ich:
func application(application: UIApplication, handleWatchKitExtensionRequest userInfo: [NSObject : AnyObject]?, reply: ([NSObject : AnyObject]?) -> Void) {
reply(["replyKey" : "replyValue"]);
}
Wenn ich die Uhr App starten Ich habe gerade:
replyInfo: [:] + Fehler Optional (Fehler Domäne = FBSOpenApplicationErrorDomain Code = 3 "Der Vorgang konnte nichtseinabgeschlossen. (FBSOpenApplicationErrorDomain eor 3.) ")
Ist es aufgrund der Simulator Wissen Sie, was falsch mache
Dank
Ich habe das gleiche Problem mit xcode 7.0 beta 3. Wenn ich xcode 6.3 verwende, funktioniert es gut. Ich hoffe, es kann dir helfen. –
Ok thx. Ich werde nächste Beta warten und diesen Beitrag aktualisieren – Pierre
Ich hatte dieses Problem nach der Installation von xcode 7.1 .... xcode saugt, ios9 saugt..apple sucks .. – Stas