Search results for

show when run

112,708 results found

Post

Replies

Boosts

Views

Activity

Reply to Create and Encrypt Secret Key in iOS
Forced unwrapping is sort of risky and you should better avoid it. But I cannot run it as it does not compile. The line 6 should be let publicSecKey : SecKey = SecKeyCreateWithData(serverPublicKeyData as CFData, attributesPublic as CFDictionary, &errorPublic)!. Please show the exact code you run.
Topic: Programming Languages SubTopic: Swift Tags:
Jul ’20
Cannot show a storyboard
Hello there, i would like to know how to show a storyboard from a swift file; In my case i tried many times but it won’t work.. So, i made a Login/Sign-Up page were the user can login/sign-up to my application, and i called it Login.storyboard, then i have another file which is SettingsViewController.swift where i have my menù etc... and till here everything works, but then i made a voice on the SettingsViewController.swift which is: case 0: if let loginStoryboard = UIStoryboard(name: Login, bundle: nil).instantiateViewController(withIdentifier: LoginNavigationController) as? UINavigationController { present(loginStoryboard, animated: true, completion: nil) } else { print(Failed to instantiate LoginNavigationController from Login.storyboard) } So, this stuff should show my Login.storyboard, but when i press on the button from my phone, everything stops and the last message i receive from logs is: libc++abi: terminating due to uncaught exception of type NSException Does somebody know what sho
3
0
549
Oct ’23
New IAPs not showing in sanbox
Seeing some complaints about iTC being slow for app releases ATM, anyone running into issues with IAPs? Something very odd going on:- I had added an auto-renew subscription a few days ago at $19.99. After the scheduled maitenence iTC listed it as $19.99 but in the sandbox it was returning $.99 in code.- Tried to make another subscription IAP incase that one was just corrupted, and it isn't showing in the sandbox at all after an hour. I just get invalid product identifier.- To make sure it wasn't something with the new subscription changes that just went live, tried a consumable IAP. Same thing - not showing in sandbox.
3
0
615
Sep ’16
Reply to LLDB RPC server has crashed
I have the same error, it happened after I :1, Select your TARGET --> Build Phases2, Click Run Script to show the list3, Select Run script only when installing4, Clean your project and run the project again5, Have a breakpoint at any place in one of your classesWhen the program run to the breakpoint , The error will produce, at the same time, Xcode will lose connection with your device !
Jun ’17
Reply to Unable see device in xcode
If you run iTunes on the same ‘Mac’ as you run Xcode, does it show your iOS device?Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’17
MKAnnotationViews not showing
New problem on iOS11 with some of our MKAnnotationViews not showing. They are all working fine on iOS10. Some display fine on iOS11 others don't.We have 100 location pins, if we select one location it's not visible properley because other location pins are overlapped on it,Please share Solution ASAP,
0
0
349
Oct ’17
Reply to Code Coverage Not Showing In Editor
I saw something like this recently (yesterday). I turned on Code Coverage then ran the app. The Code Coverage slider bars showed that ONE Swift file had 0% coverage. Since I just added a bunch of tests that tested that file, it was surprising, When I clicked the icon to go to the code in that file, it showed the Code Coverage column that showed how many times the line was called...ALL were called...yet the Code Coverage slider bar showed 0% on that file....Today when I run it, now it shows 100% on slider bar and in the file. Go figure. Gremlins were running wild yesterday holding that slider bar at 0, today they are sleeping. Who knows? By the way I'm using Xcode 8.3.3. I tried using Xcode 9 a few days ago and got errors in this area, so I went back to something more stable.
Aug ’17