xcode-6.2

Display iPhone local notification in Apple Watch

喜你入骨 提交于 2019-12-04 17:15:18
I'm trying to display local notifications in Apple Watch. The implementation is done but I don't know how to pass local notifications to Apple Watch. How can I do this? If your iOS app supports local or remote notifications, Apple Watch displays those notifications at appropriate times. iOS it self decide to pass the notification to Apple Watch or show on iPhone, As you said the implementation is done so let the iOS handle it. and at this time you have to do nothing to pass it to Watch you can see the Apple documentation for more clarification. You can see here iOS takes care of notifications.

“Install of Apple Watch Application never finished” Error when deploying watch kit app to device

女生的网名这么多〃 提交于 2019-12-04 17:03:33
问题 So I got my new watch (yay!). I manually added its UDID to the developer portal and refreshed the provisioning profiles and I was able to push an archive to ITC for testing but now I want to run the app in debug on my watch itself. I try deploying the watch kit app target set to my phone as the device and it sits there and runs/ churns for a while and nothing happens. If I wait long enough, Xcode eventually errors with "Install of Apple Watch Application never finished" Has anyone run across

Xcode configuration text fields lose focus

穿精又带淫゛_ 提交于 2019-12-04 15:07:49
问题 I recently upgraded to Xcode 6.2. It seems like there is a weird bug. For example, if I want to change the bundle id, the textfield will lose focus after any character I type. Is anyone having the same issues? Does anyone know how to fix that? It's just quite annoying for me, and I guess for anyone else too. 回答1: I also think so it's weird thing, and you need to try change bundle id in the Info tab not in General tab 回答2: If you get the problem in "General" tab (same to me), you should modify

iOS simulator crash in iOS 8.2 and Xcode 6.2 with “Failed to lookup the process ID of #ID after successful launch.”

 ̄綄美尐妖づ 提交于 2019-12-03 17:13:08
问题 iOS simulator crash in iOS 8.2 and Xcode 6.2 with an error below "Failed to lookup the process ID of xxx.xxx.xxx after successful launch. Perhaps it crashed after launch. No such process". And I cannot try to simulate my app. I uploaded the image of error. http://imgur.com/2ayGys3 It works normally when i use iOS 8.1 as a simulator. Regardless of the types of devices and types of projects, it will crash in iOS 8.2 simulator. The iOS simulator itself stands but has nothing on the screen. A

Xcode configuration text fields lose focus

て烟熏妆下的殇ゞ 提交于 2019-12-03 09:25:12
I recently upgraded to Xcode 6.2. It seems like there is a weird bug. For example, if I want to change the bundle id, the textfield will lose focus after any character I type. Is anyone having the same issues? Does anyone know how to fix that? It's just quite annoying for me, and I guess for anyone else too. I also think so it's weird thing, and you need to try change bundle id in the Info tab not in General tab If you get the problem in "General" tab (same to me), you should modify those infos in "Info" tab if possible. That is my workaround for this bug. 来源: https://stackoverflow.com

iOS simulator crash in iOS 8.2 and Xcode 6.2 with “Failed to lookup the process ID of #ID after successful launch.”

别等时光非礼了梦想. 提交于 2019-12-03 06:19:39
iOS simulator crash in iOS 8.2 and Xcode 6.2 with an error below "Failed to lookup the process ID of xxx.xxx.xxx after successful launch. Perhaps it crashed after launch. No such process". And I cannot try to simulate my app. I uploaded the image of error. http://imgur.com/2ayGys3 It works normally when i use iOS 8.1 as a simulator. Regardless of the types of devices and types of projects, it will crash in iOS 8.2 simulator. The iOS simulator itself stands but has nothing on the screen. A thing I care is that I changed my old macbook to new one and copy project files of Xcode from old to new.

library not found for -lPods-AFNetworking

烂漫一生 提交于 2019-11-30 11:30:21
I am getting the following error when using AFNetworking: ''library not found for -lPods-AFNetworking'' "linker command failed with exit code 1 (use -v to see invocation)." I checked for all missing frameworks,and they are all present .Additionally this project works for other people(we pulled it from github) and I'm the only person for whom it does not work.(its a joint project) We all use Xcode 6.2. I do not understand what could be wrong or what went missing. I tried pulling using the command line,sourceTree and even from Xcode git source control. I also tried different versions of Xcode.

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

≡放荡痞女 提交于 2019-11-30 10:36:44
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? 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 published instructions on its WatchKit site to help you prepare the required materials. Good luck to all!

Apple Store submit fails with Error ITMS-90046, but Associated Domains is not among entitlements

感情迁移 提交于 2019-11-30 06:59:28
When I first built my app & Watchkit app, I had the "Associated Domains" capability enabled. I've disabled it in the "Capabilities" panel of both the watchkit extension and the companion app, and confirmed that the key is gone from each info.plist. I have gone to Apples' "Certificates, Identifiers and Profiles" page, selected the App ID for each the Watchkit App, The Extension, and the App, unticked "Associated Domains", regenerated the provisioning profiles for each, downloaded and installed them. I've done a Ctrl-Shift-Command-K complete clean, reboot, and rebuild. On sumbission to the

Swift issue with nil found while unwrapping an Optional value NSDefautlts

。_饼干妹妹 提交于 2019-11-29 18:05:51
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. stringForKey returns an optional, so you can use the nil coalescing operator "??" to return an empty string "" in case of nil: let lastupdate = defaults.stringForKey("localdate") ?? "" let lastupdate = defaults.stringForKey("localdate")