Questions tagged [xcode7]

Xcode is an IDE by Apple for the development of iOS and OS X applications. Use this tag for version specific questions about Xcode 7.

is Apple's integrated development environment (IDE) for developing OS X, iOS, tvOS, and watchOS apps. Version 7 was presented at the WWDC on June 8th-12th, 2015. The new features of include an update to the programming language, making it faster than before. The latest version includes also support for .

Xcode 7 also adds support for deployment on iOS devices without an Apple Developer license.

This tag is only for IDE questions relating to Xcode version 7. Questions related to the programming languages should go to the appropriate tag, or . OS-related questions should go to and .

3952 questions
2
votes
0 answers

NSInteger to Int comparison in the block

What mistake do I have below in the code could you please explain? I have button which has tag property that set 3 and interval also 3, which means 3 == 3 must be true but if is not working. [_busyButtons enumerateObjectsUsingBlock:^(id _Nonnull…
mert
  • 1,090
  • 13
  • 26
2
votes
2 answers

Disable bitcode with Visual Studio

I have a problem for build my app and deploy to the iPhone. How to disable bitcode(Xcode setting ENABLE_BITCODE) with Visual Studio (Cordova tools) for build my app?
2
votes
1 answer

Thread 1: signal SIGSTOP runtime error

I am quite new to Swift, so I am not really sure where the error is happening. This is my Viewcontroller. Maybe I am not calling the functions correctly, as this error started happening after I had included the functions to change the tenses. The…
Sayan Sarkar
  • 23
  • 1
  • 4
2
votes
0 answers

iOS 9 localization broken (returning english when My phone is in french)

A issue appears on my app when installing it on a iOS9 device. All strings are now translate in english instead of french on a french device. NSString * temp = NSLocalizedString(key, @""); //<-- incorrect English translation NSString * temp2 =…
Vassily
  • 899
  • 2
  • 8
  • 19
2
votes
1 answer

How to change the colour of the back button when the colour of the navigation bar changes across different View Controllers?

I have different bar tint colours for different view controllers. Some View Controllers' bar tint colour requires the title text colour to be white and other View Controllers' bar tint colour requires it to be black. Now the code (called in the…
Dieblitzen
  • 544
  • 4
  • 22
2
votes
1 answer

Xcode 7 Code Signing Resource Rules Path issue

I have the latest Xcode 7 and iOS 9 SDK installed on my El Caption. I just get an issue about the Code Signing Resource Rules Path: If I specify the CODE_SIGN_RESOURCE_RULES_PATH=$(SDKROOT)/ResourceRules.plist then I can not upload the IPA to…
jayatubi
  • 1,972
  • 1
  • 21
  • 51
2
votes
2 answers

ReplayKit crashes app on an iOS 8 phone

I incorporated ReplayKit in my app with Xcode 7. When I tried to overwrite an existing version of my app on an iOS 8 mobile phone (developed with Xcode 6), it hanged with the following error. dyld: Library not loaded:…
LFS
  • 145
  • 1
  • 9
2
votes
2 answers

Spritekit/Universal images from assets not showing up on iOS 9?

I made a universal app using SpriteKit and Swift. Users have sent out bug reports on iOS 9 where sprite node images are showing up white/blank. But I haven't been able to reproduce this in the simulator. The images that don't show up are all…
2
votes
1 answer

Tests navigator in xcode 7 says (null)

When I try to test my iOS app the Xcode 7 test navigator shows (null) the second time I run my tests. The first time it looks normal: However, as I run the tests again the 12 tests turn into a single test named (null) and it feels like the test…
andrrs
  • 2,289
  • 3
  • 17
  • 25
2
votes
1 answer

FBshare - plugin com.apple.share.Facebook.post invalidated

Upgrade my app to support iOS9 via Xcode7, I cannot share posts as I expect on facebook. Here's how I share post: FBSDKShareLinkContent *content = [[FBSDKShareLinkContent alloc] init]; content.contentURL = [NSURL…
bluenowhere
  • 2,683
  • 5
  • 24
  • 37
2
votes
1 answer

uiwebview is not working for Swift 2.0

The code I was using for Xcode 6.4 to open a uiwebview doesn't load for Xcode 7 when starting simulator. class ViewController: UIViewController { @IBOutlet var webLaundry: UIWebView! func loadWebPage(){ let theURL = "http://www.google.com" …
Drew Bennett
  • 483
  • 3
  • 6
  • 25
2
votes
1 answer

SKAction.playSoundFileNamed not working in iOS 9

I think I've got my game working almost the same as it was before iOS 9 came along... I have included the entire function, but the only thing I am having a problem with is the sound effect at the beginning of the function: func collisionHappened()…
JGrn84
  • 750
  • 1
  • 9
  • 26
2
votes
2 answers

Accessing Camera in Swift 2 iOS

I am trying to access camera and take a picture in my iPad app, below is the code which works for swift 1.2 but is failing with 3 types of errors(highlighted below in BLOCK comments) in Swift 2. I have spent time looking for swift 2 way of writing…
Nagendra Rao
  • 7,016
  • 5
  • 54
  • 92
2
votes
0 answers

Adding watchOS 2.0 to project with existing watchOS 1.0 app causes weird compile error

We have an app built for iOS 8.4 with watchOS1 on Xcode 6.4. That all works fine, compiles, builds and runs no problem. With the coming of Xcode 7, and watchOS2, we wanted to add a watchOS2 app as a target to our project. After just adding the…
geekyaleks
  • 1,281
  • 3
  • 18
  • 29
2
votes
0 answers

Swift/XCode 7: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)

I have created a self signed certificate with openssl and sha 256 like the following: openssl req -x509 -nodes -sha256 -days 365 -newkey rsa:2048 -keyout server.key -out server.crt and I've installed it correctly in my AMPPS server by configuring…
SagittariusA
  • 5,289
  • 15
  • 73
  • 127