xcode6

Apple Watchkit simulator issue: SPErrorInvalidBundleNoGizmoBinaryMessage

旧巷老猫 提交于 2019-12-28 16:31:22
问题 When I open my existing Watchkit app (Xcode 6.2), it compiles correctly, the simulators are launched (iPhone+Watch), followed by the meaningful error: Error Launching 'xxx Watchkit Extension' SPErrorInValidBundleNoGizmoBinaryMessage I have this issue with all simulators (iPhone 5/5S/6/6+ - 38mm/42mm) Any ideas what the issue can be? It seems for some reason the application does not want to run on the simulator, even though it used to. The iPhone application included in the same project does

Xcode 6 beta 7: storyboard adds extra space on right and left sides

五迷三道 提交于 2019-12-28 08:07:24
问题 When I add subview to root ViewController's view, and with auto layout setup leadingSpace,trailingSpace,topSpace and bottomSpace to zero, there are appear some extra spaces on left and right sides (so if I print subview's frame its origin will be 16 and size less on 32 than should be). So actually we get that leading and trailing spaces are not zeros... As you can see on picture leading space - zero, but origin.x = 16 Earlier I wasn't working hard with auto layout, so my question is: Is it a

BSXPCMessage received error for message: Connection interrupted

社会主义新天地 提交于 2019-12-28 08:04:29
问题 UPDATE: Reference #19285042 and submit bug reports to apple Very weird error and not finding anything online. Its saying "BSXPCMessage received error for message: Connection interrupted" I'm just doing some basic filter applications. The error message ONLY occurs if I reassign the UIImageView.image to another UIImage. If I comment out just that line I will not get the error. So if you can think of any reason why this message appears when I assign a filtered image to a UIImageView that would

iOS simulator scaled bug

不想你离开。 提交于 2019-12-28 06:27:22
问题 Today morning I build and run my xcode project. When simulator launched I saw this: The screen is scaled , I see only 1/4 part, other 3/4 parts are hidden . Did anybody faced with same problem? The issue happens in xCode6, Xcode5 , also in AppCode . I tried to Clean project, switched to iPhone5 screen , iPad , the same problem. Also, this happens with my other iOS projects. 回答1: Finally, I got the reason why this bug appears at work and not at home :) Because at work I don't have external

iOS simulator scaled bug

佐手、 提交于 2019-12-28 06:27:08
问题 Today morning I build and run my xcode project. When simulator launched I saw this: The screen is scaled , I see only 1/4 part, other 3/4 parts are hidden . Did anybody faced with same problem? The issue happens in xCode6, Xcode5 , also in AppCode . I tried to Clean project, switched to iPhone5 screen , iPad , the same problem. Also, this happens with my other iOS projects. 回答1: Finally, I got the reason why this bug appears at work and not at home :) Because at work I don't have external

in app purchase in SKScene

此生再无相见时 提交于 2019-12-28 06:13:47
问题 Is it possible to implement an in-app purchase within the SKScene ? If so, how? I'm trying to use a SKSpriteNode as a 'buy' button with no luck. I'm not sure whether the code needs to go in the SKScene or the view controller. I've looked at loads of tutorials, but they all seem to be aimed at single view applications rather than in SpriteKit. 回答1: First, put this in your game scene line and make sure you have the framework 'StoreKit' imported class GameScene: SKScene,

in app purchase in SKScene

ぃ、小莉子 提交于 2019-12-28 06:13:05
问题 Is it possible to implement an in-app purchase within the SKScene ? If so, how? I'm trying to use a SKSpriteNode as a 'buy' button with no luck. I'm not sure whether the code needs to go in the SKScene or the view controller. I've looked at loads of tutorials, but they all seem to be aimed at single view applications rather than in SpriteKit. 回答1: First, put this in your game scene line and make sure you have the framework 'StoreKit' imported class GameScene: SKScene,

Xcode 6 GM creating archive

做~自己de王妃 提交于 2019-12-28 05:34:25
问题 I am attempting to create an archive .ipa for distribution via testflight. The archive creates, and I choose export, then choose ad hoc, then select my team. However, at this point I get the below screen. I know that my certificate is valid, as I created an .ipa in xcode 5 with a different provisioning profile about 2 hours before I downloaded xcode 6 GM. I also know that my provisioning profile is valid and connected to said certificate. Thing is, in xcode 5 it didn't ask for a team; it only

Xcode 6: can't connect any IBOutlet to ViewController

放肆的年华 提交于 2019-12-28 04:02:07
问题 After upgrading to Xcode 6, I opened an old project (that contains a subproject, so it has many targets) and I noticed that no link from my Storyboard ViewContoller to the relative Objects works. For example I have a ViewController with a TableView inside and now I cant do can't do anyhing with it because the connection is missing, I can't even redefine a new IBOutlet in the VC because the arrow in the storyboard from the VC won't connect to anything. To be more clear: The class is defined in

WatchKit SDK not retrieving data from NSUserDefaults

痴心易碎 提交于 2019-12-28 02:52:08
问题 I wanted to make a test app for the Apple watch in which you can set some String on your phone, and then it will be displayed on the Apple Watch. I decided to use NSUserDefaults class to store this data. In my view controller for the iPhone I have a method which takes the input and stores into local storage: - (IBAction)saveInfo:(id)sender { NSString *userInput = [myTextField text]; NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; [defaults setObject:userInput forKey:@