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

Calling a function upon contact with barrier, but not colliding. Is it possible?

I would like to know if it is possible to call a function when a UIView comes into contact with a collision boundary, but not to have them actually collide. Can a function be called when they come into contact and have the view go right through the…
mrnifnif
  • 188
  • 10
1
vote
1 answer

Duplicate symbols in iOS frameworks

I have to use a 3rd-party framework in my app. But when I include the framework in my project I get linker errors like the following: duplicate symbol _SRHTTPResponseErrorKey in: Shared/Libraries/XXX.framework/XXXSDK(SRWebSocket.o) …
Bobrovsky
  • 13,789
  • 19
  • 80
  • 130
1
vote
1 answer

XCode7 Unit tests fail (compiler error)

I have created a Unit Test target AFTER my app was already created. The problem i have is that the test will fail with compiler errors unless i manually add each .swift file and library to the testing target. Since my app is a rather large app with…
1
vote
4 answers

How to call perform segue method from another class?

I want to perform segue from View B to View C and I am calling method in class A. My segue method in Class B is- //ViewController B func nextViewAction() -> Void { self.performSegueWithIdentifier("nextview", sender: self) } And I am…
iDeveloper
  • 2,339
  • 2
  • 24
  • 38
1
vote
3 answers

Link External Library in Xcode C++ Project

I've found answers to this question, but they don't work for me. I'm trying to build a C++ project in Xcode that uses external libraries from ffmpeg and openCV, and I can't figure out how to link them. As recommended, I go the "Build Phases"…
saulspatz
  • 5,011
  • 5
  • 36
  • 47
1
vote
0 answers

Pod 'HockeySDK' pod insall gives error, what to do?

Am trying to install the pod 'HockeySDK', But its showing this error. Installing HockeySDK (2.5.5) [!] /bin/bash -c set -e echo "This Pod relies on the removed `pre_install` or `post_install` hooks and therefore will no longer continue to work.…
1
vote
1 answer

One of my pods is unusable, how can I fix it so it can be imported?

One of my pods (specifically TNImageSliderViewController) cannot be imported into my swift files. It also cannot be set as the class of a view in the storyboard. Oddly, TNImageSliderViewCell is available and has no issues. Here's my…
Jason
  • 808
  • 6
  • 25
1
vote
1 answer

In Xcode creating a new Cocoa Touch Class incl. .xib file there is no connection

Steps: In an Xcode project add a new Cocoa Touch Class And select the "Subclass of" UIViewController Select "and also create XIB file" Then opening the .xib file there is only a UIView. Any reason there is no UIViewController which would be the…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
1
vote
1 answer

Open link in Safari from UIWebView

What i'm trying to do is open a website in Safari, through having the user click on a link that is displayed in my UIWebView. I started by reading through the question/answers on: Open specific link in Safari from UIWebView Afterwhich I implemented…
Diesel
  • 519
  • 1
  • 6
  • 24
1
vote
1 answer

Entry, ":CFBundleIdentifier", Does Not Exist

I keep getting this error ":CFBundleIdentifier , Does Not Exist". The versions I use : react-native-cli: 2.0.1 react-native: 0.40.0 npm 4.0.5 node v7.4.0 Mac OS 10.10.5 Xcode 7.2.1 WebStorm 2016.3.2 So I proceeded with different solutions: killing…
user3521011
  • 1,481
  • 5
  • 20
  • 35
1
vote
1 answer

taking backup of code signing identities for a new mac

I need to take backup of the code signing identities to shift to a new mac, I have found two ways to do so. As per the apple develper docs, I can take a backup of code signing identities by going to preferences - > accounts -> settings -> export…
basum
  • 319
  • 1
  • 3
  • 18
1
vote
1 answer

Instrumenting iOS Application in XCode - Archive Fail Error

I try to build .api file to test by testComplete following this link: https://support.smartbear.com/testcomplete/docs/app-testing/mobile/ios/preparing/instrumenting-apps/xcode-6.html But when I go to step archive project Xcode throw error: ld:…
Rai Vu
  • 1,595
  • 1
  • 20
  • 30
1
vote
0 answers

What are "Unassigned" slots for in "Brand Assets" in "Assets.xcassets" in Xcode 7.3.1?

After clicking the "Migrate" button on the Target > General > Deployment Info > App icons and Launch images > Launch Images Source panel, Xcode 7.3.1 created yet another item in my Assets.xcassets: Brand Assets. This item has 6 slots: 4 of those…
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
1
vote
1 answer

swift byte[] in json object

I'm trying to serialize json object like this let jsonObject: [String: Any] = [ "Description":problemDescription.text!, "Photo": byteArray ] let jsonData = try! NSJSONSerialization.dataWithJSONObject(jsonObject, options:…
markan3
  • 117
  • 2
  • 9
1
vote
1 answer

Xcode: CURRENT_PROJECT_VERSION in product name

In Xcode 7, I would like the name of the product to be something like myapp.3.23 where myapp is the target name, 3 is the version and 23 is the build. I tried by setting the product name of my target to $TARGET_NAME.$CURRENT_PROJECT_VERSION (and…
Stefano Bider
  • 176
  • 2
  • 12
1 2 3
99
100