xcode-6.2

Can I upload my application utilizing WatchKit to the App Store now?

爱⌒轻易说出口 提交于 2019-11-29 15:48:56
问题 I made an application includes an iOS App and a WatchKit App; each part can run standalone. Can I upload this application to App Store now, so that it will be ready for Apple Watch when it's released, or do I have to wait? If the answer is yes, do I have to upload it to iTunes Connect through Xcode or Xcode Beta? 回答1: As of Tuesday, March 31, 2015, all registered Apple developers can submit new apps and updates containing WatchKit extensions to the App Store. If you need help, Apple has

How to export shared container of an iOS App with Xcode6.2?

我与影子孤独终老i 提交于 2019-11-28 21:31:47
In our iOS app we utilize a shared container to share files between our main iOS app and its extension (specifically WatchKit Extension), using [NSFileManager containerURLForSecurityApplicationGroupIdentifier:] method. For debugging purposes we need to access the content of this shared container, so we've tried to export the whole App container using the Devices window in Xcode: But, the Shared storage is not included in the container, probably because it sits in a different path on the Device itself. The question is how can we get the shared container, if this is even possible? I've been told

Download Xcode simulator directly

纵然是瞬间 提交于 2019-11-28 14:33:45
问题 I have downloaded Xcode 6.2 today which replaced previous Xcode 6.1 now to use simulator 7.1 & 8.1 it asks to download both simulators , but for some reason after trying 4-5 times it shows network issues in downloading or request time out (note: in n/w diagnostic after it shows net is working properly) so is there any direct link from where i can download the simulator package directly or somewhere at least it shows progress in percentage/size instead just a bar if it's not possible i have

Swift issue with nil found while unwrapping an Optional value NSDefautlts

我的未来我决定 提交于 2019-11-28 12:17:25
问题 Issue with fatal error: unexpectedly found nil while unwrapping an Optional value. let lastupdate = defaults.stringForKey("localdate") self.lastUpdate.text = "Updated at " + last update! //issues when I use this line self.lastUpdate.text = lastupdate // If use this line I have no issues. Works if I pre populate the data. But I would like to allow a nil value. 回答1: stringForKey returns an optional, so you can use the nil coalescing operator "??" to return an empty string "" in case of nil: let

Invalid Device State - Xcode/iOS Simulator error

假如想象 提交于 2019-11-27 14:15:41
Problem: I cannot simulate an Apple watch interface. Whenever I try and test my Apple watch app on the iPhone 6 simulator, Xcode successfully finishes and builds the app, attempts at opening simulator and fails with an error message which reads 'Invalid Device State'. I believe simulator has a watch simulator that opens along with the compatible iPhone simulator models that can communicate with Apple watch (example: iPhone 6) Although I have yet to see it work. I have built a universal interface for iPad and iPhone and another for the watch, so it's not a matter of the app being for the wrong

Invalid Device State - Xcode/iOS Simulator error

假装没事ソ 提交于 2019-11-26 16:38:45
问题 Problem: I cannot simulate an Apple watch interface. Whenever I try and test my Apple watch app on the iPhone 6 simulator, Xcode successfully finishes and builds the app, attempts at opening simulator and fails with an error message which reads 'Invalid Device State'. I believe simulator has a watch simulator that opens along with the compatible iPhone simulator models that can communicate with Apple watch (example: iPhone 6) Although I have yet to see it work. I have built a universal