Search results for

DTiPhoneSimulatorErrorDomain Code 2

158,673 results found

Post

Replies

Boosts

Views

Activity

Icon for Pinned Tabs not yet working?
Some websites like nytimes.com, twitter.com, cnn.com already have an icon when pinned to the top. According to “What's new in Safari 9” this code should be added in order to provide a custom icon:<link rel=icon sizes=any mask href=website_icon.svg> <meta name=theme-color content=red>That's what I did on our website (obdev.at) but Safari seems to ignore it. Anything I'm missing here? Or is there no support for third-party websites yet?
4
0
15k
Jun ’15
Best practice for setting CFBundleVersion automatically
With the newest releases of iOS and iTunesConnect, Apple is more and more restrictive about what´s happening in your CFBundleVersion of your Extensions.I tried to fiddle around with Run Script Build Phases, such as this:#!/bin/sh INFOPLIST_EXT=${TARGET_BUILD_DIR}/${INFOPLIST_PATH} echo Extension writing to $INFOPLIST_EXT PLISTCMD=Set :CFBundleVersion $(git rev-list --all|wc -l) echo -n $INFOPLIST_EXT | xargs -0 /usr/libexec/PlistBuddy -c $PLISTCMDHowever, this seems to work for some types of Extensions (WatchKit), but for some others it doesn´t (Today Widget). In my cases, I seem to access the $TARGET_BUILD_DIR before there´s content in it. Using $BUILT_PRODUCTS_DIR delivers the same error.Extension writing to /Users/marc/Library/Developer/Xcode/DerivedData/MyApp-focpnqzzpnqsfyaqwwocwpujmhmh/Build/Intermediates/ArchiveIntermediates/MyApp/IntermediateBuildFilesPath/UninstalledProducts/TopNewsWidget.appex/Info.plist Set: Entry, :CFBundleVersion, Does Not Exist File Doesn't Exist, Will Create: /Users/marc/Libra
6
0
7.2k
Jun ’15
Reply to watchOS 2b1 wiped Activity data
It's not watchOS 2, it's iOS 9.Reading the iOS 9 release notes reveals that loss of Health data is a possible side effect of installing the beta, and that to avoid this you should make an encrypted backup to iTunes (unencrypted backups to iTunes and backups to iCloud don't backup Health data).
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
iOS 9 on iPad Air 2 drains battery like crazy
I'm finding that since i updated my (development) iPad Air 2 from 8.3 to iOS 9 Beta 1, its battery is draining like crazy. I unplugged with 100% charge last night, this morning it's alreadty dead again. It also constantly is really warm. Instruments shows blackboardd running at 20% CPU, the full time, and MobileMail running fairly high too.Mind you, this is not an ooh, i upgraded my only production-use device to a beta and now i'm complaining it's not perfect complaint, so hold back the usual snarky remarks about this. My concern is not only that this iPad is now unusable as a testing/development device, but that i'm actually worried about leaving it running like this at all, for what it might do to the CPU and the battery, long term. The only choice i'm seeing right now is powering it down completely and put it in a drawer until Beta 2 😟.
4
0
710
Jun ’15
UserDomainMask
I have downloaded some Code which had previously worked for the coder, who was able to run ok on his App.However when I try to use the code to save data to iphone memory I get an Error Message stating ...Use of unresolved Identifier UserDomainMask..I have tried using NSUserDomiainMask to replace it and that doesn't seem to solve the problem.It seems that the coder may have been using a Beta version of Xcode 6 for his App.Can anyone please tell me what should replace UserDomainMask in the code below?/ func documentsDirectory() -> string { let documentsFolderPath = NSSearchPathForDirectoriesInDomains(NSSearchPathDirectory.DocumentDirectory, NSSearchPathDomainMask, UserDomainMask, true)[0] as String return documentsFolderPath }Kind Regards.Del
0
0
330
Jun ’15
Reply to Restore WatchOS to 1.0
This won't work - the reset/restore from backup process *does not* restore the 1.x WatchOS - it only resets app and sync data.Unless you can find a way to get a copy of the actual full WatchOS file, there is *no way back* from WatchOS 2.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
WatchOS 2 beta broken?
Has anyone had any luck converting existing watch apps to the new watchOS 2?Currently even the simplest apps with 2 or 3 images seem to be overwhelmed and just never loads on the watch.Thus far I only have been able to get very minor functionality going.Any feedback would be greatly appriciated.
3
0
537
Jun ’15
Reply to No notification
Hi - As I said earlier, I was not receiveing any notifications for iMessages or E-mails for ever since upgrading to iOS 9 and watchOS 2 Beta when it was released. I had done multiple repairings on the watch and shut down / restore cycles on the phone and nothing worked for more than a few minutes regarding notifications.But finally had SUCCESS yesterday and it continues to work through this morning. As I write this I am receiving my iMessages notifications on the watch and replying to them with no problem. Also receiving my e-mail notifications again. 1. Using iOS9 Apple Watch app on my iPhone I unpaired my watch completely.2. On the iPhone, did a complete Erase All Contents and Settings.3. Waited for iPhone to restart4. Setup the iPhone as a completely NEW iPhone instead of restoring from any backup5. Used my Apple ID to get my iCloud data (again, not from a backup on iCloud, just the stuff on iCloud, like iMessages, mail settings, contacts, etc)6. Waited a while to make sure everything fro
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15