Questions tagged [xcode8-beta2]
29 questions
31
votes
2 answers
Cordova app hanging during startup on iOS 10
I just installed Xcode 8 beta in order to test my existing Cordova app in iOS 10 beta (via Simulator). When the app is launched, it just hangs on the loading page - seems the deviceready event is not being fired.
So I also installed iOS 10 beta on…

DaveAlden
- 30,083
- 11
- 93
- 155
30
votes
2 answers
How do I make a fetch request using NSManagedObject's new fetchRequest function?
In iOS 10 the CoreData team added a new "fetchRequest" method to NSManagedObject. It looks like this:
public class func fetchRequest() -> NSFetchRequest
Which, from what I understand, allows us to replace this:
let request =…

Dan Beaulieu
- 19,406
- 19
- 101
- 135
20
votes
3 answers
requestAccessForMediaType crashing in iOS 10
In my app I'm using card.io to scan credit cards. It works fine in iOS 9. In iOS 10, the app is crashing and I cannot find the crash log in the xcode 8 beta 2 console as it throws a lot of garbage messages.
And then I checked in privacy->settings to…

Teja Nandamuri
- 11,045
- 6
- 57
- 109
13
votes
2 answers
How to run apps on Real devices using Xcode 8 without enrolling to Apple's Developer Program?
In previous version of xcode 7, we can run our app on real device by adding apple id to xcode account and then selecting team.
But as now release of xcode 8 beta 2, there is no "fix issue" button instead of that there is "Automatically manage…

Viraj Padsala
- 1,388
- 1
- 13
- 31
9
votes
2 answers
Change Signing Certificate in Xcode 8 Beta 2
I have two certificates in my keychain that I use for code signing.
One is my team’s production certificate that I use for signing apps for enterprise distribution.
The other is my development certificate (part of the same team) that I use for…

Dana
- 435
- 1
- 4
- 13
8
votes
2 answers
Losing reference to transitioningDelegate before presetentation presentation
I had a working custom UIPresentationController prior to Xcode beta 2 and iOS 10 beta 2. I haven't changed any code, but the presentation is now being presented with the standard modal presentation.
There is a note in the Apple sample code for…

jjatie
- 5,152
- 5
- 34
- 56
6
votes
1 answer
Get child node of SKReferenceNode in SpriteKit SWIFT
I create a scene Case.sks (using Level Editor), inside one SKSpriteNode (name : square), and one SKLabel (name : label).
In my main scene, GameScene.sks, I use a SKReferenceNode with "Case" for reference.
I need to access to the "square" sprite from…

cmii
- 3,556
- 8
- 38
- 69
5
votes
2 answers
AVCaptureDevice.requestAccess() crash
I created an iOS single view application using Swift 3.0 and Xcode 8 Beta 2. I am linking with the AVFoundation.framework.
This is my view controller code:
import UIKit
import AVFoundation
class ViewController: UIViewController {
override func…

RobertJoseph
- 7,968
- 12
- 68
- 113
4
votes
4 answers
I'm trying to import either GoogleAPIClient or GoogleAPIClientForREST
I'm trying to follow Google's tutorial on making their QuickStart app to learn how to make API calls with Swift. I followed the tutorial completely and ended up with this code
import GoogleAPIClient
import GTMOAuth2
import UIKit
class…

Theodore.K
- 384
- 2
- 7
- 21
3
votes
1 answer
Xcodebuild throws error in new Xcode-8 Beta version
I get this error Code signing is required for product type 'Application' in SDK 'iOS 10.0'", whenever i try building my app from command line using xcodebuild. The same command works fine with previous versions of Xcode. In general "xcodebuild…

Athith Chandra
- 71
- 1
- 2
2
votes
0 answers
How to import sqlite3.h in Xcode 8.2
I'm new to databases, and have seen a few solutions, but the answers are usually too technical for me to understand. I've read about adding SQL to the source files, and about Bridges, etc. I have yet to come across a good step by step procedure. I'm…

Theodore.K
- 384
- 2
- 7
- 21
2
votes
3 answers
iOS 10. CoreData insert new object sig ABRT
I tried forEntityName: "Game", "MyApp.Game".
in my dataManagerFile:
let appDelegate = UIApplication.shared().delegate as! AppDelegate
let container = appDelegate.persistentContainer
let…

spin_eight
- 3,925
- 10
- 39
- 61
2
votes
1 answer
Firebase Auth Signout Error - Swift
When I try to sign out the user using this method, I just get an error:
fatal error: 'try!' expression unexpectedly raised an error: Error
Domain=FIRAuthErrorDomain Code=17995 "An error occurred while
accessing the keychain."…

Luke Pistrol
- 1,199
- 3
- 12
- 26
1
vote
1 answer
parsing data into tableview swift 3
I am attempting to parse data from a website and then display it into a tableview on the press of a button. I am using swift 3, Xcode 8.2 beta and can not get the data to store into an array or display into the tableView. Here is my tableViewCell…

JeffBee
- 13
- 3
1
vote
0 answers
What can I do to fix the error "Thread 1: signal SIGABRT"?
I'm following this tutorial on Github to try and learn how to use SwiftyDropbox, but I've run into this error
import UIKit
import SwiftyDropbox
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate { //Thread 1: signal…

Theodore.K
- 384
- 2
- 7
- 21