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
1 answer

Xcode 7: Can't use CalendarUnitMonth in Swift 2.0, Xcode 7

I am using swift2. I used this code: let calendar = NSCalendar.currentCalendar() let components = calendar.components(.CalendarUnitMonth | .CalendarUnitDay, fromDate: theDate) I am getting this error: Could not find member…
user2991638
  • 111
  • 1
  • 6
2
votes
0 answers

Apple Watch App Not Installing on Device or Simulator

Here is the warning that I get. was rejected as an implicit dependency for '.app' because it doesn't contain platform 'iphonesimulator' in its SUPPORTED_PLATFORMS 'watchsimulator, watchos' The app just sit there waiting to run…
aasatt
  • 600
  • 3
  • 16
2
votes
0 answers

Xcode 7 Beta 2 crash when trying to run UI test

I'm trying to test the new UI Tests with XCode 7. Here's the test I wrote: func testExample() { let app = XCUIApplication() let field1TextField = app.textFields["Field 1"] field1TextField.tap() …
YogevSitton
  • 10,068
  • 11
  • 62
  • 95
2
votes
1 answer

How to make object move faster after every touch on screen with swift code?

I made a game on Xcode 7 BETA with an object that moves and has many different functions. But the problem is that object always moves at the same speed and it won't speed up or slow down. What I want is for the object to speed up after every touch…
Emm
  • 1,963
  • 2
  • 20
  • 51
2
votes
0 answers

Segmentation fault on fresh cocoapod install

I have a new Swift project I started on and the first thing I did was create my podfile and bring in two cocoapods. target 'Life Stream' do pod 'SSKeychain' pod 'LiveSDK' end target 'Life StreamTests' do pod 'SSKeychain' pod 'LiveSDK' end I then…
Johnathon Sullinger
  • 7,097
  • 5
  • 37
  • 102
2
votes
2 answers

Can't build iOS app with Xcode 7 beta

The new Xcode 7 beta was released and I decided to build an iOS app in it. Now I have finished building the application in Swift 2.0. I just finished uploading the binary when it hit me. You can't develop apps for other than beta versions of iOS…
Frederik Witte
  • 936
  • 1
  • 16
  • 31
2
votes
2 answers

How to link to libz and libsqlite in xcode 7 beta?

I got linkage error like: +[WeChatApiUtil DecodeBase64:] in libWeChatSDK.a(WeChatApiUtil.o) "_deflate", referenced from: +[MTAWXOHelper GZip:Out:] in libWeChatSDK.a(MTAWXOHelper.o) "_deflateEnd", referenced from: +[MTAWXOHelper…
Bagusflyer
  • 12,675
  • 21
  • 96
  • 179
2
votes
3 answers

Error after upgrading SpriteKit project to Swift 2 with Xcode 7 Beta

After upgrading my SpriteKit project to Swift 2 with Xcode 7 beta, I'm getting the following runtime error: dyld: Library not loaded: /System/Library/Frameworks/GameplayKit.framework/GameplayKit Referenced from:…
sfdrew
  • 155
  • 2
  • 9
2
votes
0 answers

how to build a custom framework for pure swift in xcode 7

I want to build a custom framework in pure swift. Then I want to export that custom framework and import it into another pure swift app project. I want to do this by linking to the framework in the "Link binary with libraries" build phase. Seems…
user965972
  • 2,489
  • 2
  • 23
  • 39
2
votes
1 answer

Can't retrieve non jpg/png files from the Asset Catalog in Xcode 7

I want retrieve non jpg/png files from the Asset Catalog in Xcode 7. I saw it was possible now to add any kind of data into to Asset Catalog. So the way I was doing it was working before moving gif/video from Xcode project into the Assets Catalog…
Aymenworks
  • 423
  • 7
  • 21
2
votes
0 answers

Xcode 7 and Swift 2.0 : Command failed due to signal: Abort trap: 6

Since Xcode 7 and Swift 2.0, in my current project, I get the error above : Assertion failed: (Conformance.size() == Archetype->getConformsTo().size() && "substitution conformances don't match archetype"), function Substitution, file…
Aymenworks
  • 423
  • 7
  • 21
2
votes
0 answers

Swift 2.0 NSData(contentsOfURL) always nil in-app but the same code run well in playground

I'm using the following code to fetch data from an online api, I use the same code in both playground and my app. But somehow the exactly same code work in playground but not working on both iOS Simulator and iOS 9b1 iPhone (the line let dataSource…
Yuji
  • 74
  • 3
2
votes
4 answers

Xcode 7 beta made my apps storyboard files inaccessible

I installed the Xcode 7 beta 1 and it asked me to convert my code to Swift 2, which I did. All worked fine, there were only some problems with my apps test target. When that was solved, I built and ran the app and the error said:…
Vincent
  • 1,645
  • 3
  • 14
  • 22
2
votes
1 answer

How to create a snapshot in XCode7

The "snapshot" function seems to have disappeared in xcode7-beta. Under projects you can still see snapshots to restore. Under file there is no create snapshot
Ryan Heitner
  • 13,119
  • 6
  • 77
  • 119
2
votes
0 answers

iOS9 with Xcode 7 beta breaks AFNetworking

I have an Xcode project built with cocoapods. It has only Objective C code. I wanted to integrate the core spotlight framework to provide native search functionality to my app. The app uses AFNetworking for all the Networking calls. However when I…
Tejas HS
  • 2,565
  • 2
  • 16
  • 13