For questions about the 10.2 version of Xcode. Use this tag in combination with the general [xcode] tag. If your question applies to Xcode more generally, use only the [xcode] tag.
Questions tagged [xcode10.2]
151 questions
0
votes
0 answers
Archiving react-native project fails with `_RCTCxxBridge` error
I tried a number of solutions I found on the web without any luck. I want to archive a react-native project but it keeps failing with this error
Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_RCTCxxBridge", referenced from:
…

Abdul-Elah JS
- 685
- 1
- 16
- 36
0
votes
1 answer
Swift 4.2, Xcode 10.2 nil coalescing operator warning
On Xcode 10.1, the following statement wasn't having any issues, but after updating the Xcode to 10.2 compiler is generating warning for the statement.
return [
"sublevels": (self.sublevels?.array ?? [Sublevel]()) as NSObject
]
sublevels is…

Ravi Sisodia
- 776
- 1
- 5
- 20
0
votes
2 answers
How to wait until get the response from component under test that use Alamofire? - Xcode
I have a login view controller that user Almofire library to get the response. I do the unit test on that controller but the test always fail. I think because take time to response.
My test case:
override func setUp() {
super.setUp()
…

Raghad ak
- 15
- 5
0
votes
1 answer
Why pod target build settings Swift language version numbers are different and how we can fix in Xcode?
I want to upgrade my small project that has pod dependencies, as well as these pods to latest swift 5. I did convert, tested and all was fine. However, I have noticed that in some pods build settings there are two numbers of swift:5 and 4.2. This is…

Konstantinos
- 101
- 1
- 9
0
votes
1 answer
Objective-C method returning a dictionary of Class crashes in Xcode 10.2
I am facing a weird crash after updating the Xcode to 10.2. I have an Objective-C class method as below
@interface Car: NSObject
+ (NSDictionary *) carMapping;
@end
which returns dictionary of type NSDictionary

iOS
- 3,526
- 3
- 37
- 82
0
votes
1 answer
How to RUN a command line tool project in Xcode10.2
I created a command line tool project in Xcode10.2.
I can build but can't run the project.
dyld: Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/{username}/Library/Developer/Xcode/DerivedData/{projectname…

Catherine
- 1
- 2
0
votes
1 answer
MongoSwift Pod contains 100 compiler errors. Unable to build after install
I have an iOS app I am planning on integrating with MongoDB. After installing the pod files, upon build I get about 100 errors and I'm not really sure what's causing it or how to fix them.
Added a screenshot of some of the errors. They are all…

Andrew Timosca
- 45
- 10
0
votes
0 answers
Saving to defined file multiple times without overwriting previous data
I am trying to create a simple text input application in Swift, which this is my very first application created in this particular language. I am able to create a file and save text to it. The quest that I am on now to find an answer is the…

gwatson117
- 32
- 6
0
votes
1 answer
Initial navigation view controller of AuthUI not working under Xcode 10.2
I recently upgraded to Xcode 10.2.
Before the upgrade I could use the stock Initial Navigation View Controller of AuthUI from Firebase Realtime Database, I could sign up and login to Firebase without problems, now I get a "welcome" screen only.
I'm…

Ary Jonathán
- 26
- 6
0
votes
3 answers
How to run Xcode 10.2 Simulator
Overnight my Xcode has update to 10.2 and ever since I can't run the simulator anymore. Affected seems every Simulator regardless of Model or iOS Version.
Xcode is building and showing "Running on iPhone X", but I can't see a simulator.
I have the…

David Seek
- 16,783
- 19
- 105
- 136
0
votes
1 answer
APP using Realm Swift Pod doesn't run (CMD + R, crashes compiling Realm) but it does test (CMD + U) and does also archive
I'm having a strange problem doing some Proof of Concept compilations with my current project.
What we're trying to test is if our project compiles ok under XCode 10.2 (Beta 2 as of today, we know we also have betas 3 and 4 available). We know it's…

Isaac
- 1,794
- 4
- 21
- 41
0
votes
1 answer
Xcode 10.1 highlighting off by one (or more) lines in Version Editor for storyboard file
When I use Version Editor to compare changes, or when committing changes, the changed lines are showing incorrectly (each one is showing offset by one or more lines). Typically I only experience this when opening my storyboard file, rather than code…

Bradley Thomas
- 4,060
- 6
- 33
- 55
0
votes
3 answers
Developing Pod for iOS project - improve work methodologies
I'm working on Pod projects at work, the main goal is to isolate portions of the main app into separate libraries.
The thing is that the process of developing a pod, then testing it on the main app seems to be too slow. Much slower than developing…

Nativ
- 3,092
- 6
- 38
- 69
0
votes
0 answers
Xcode 10.2 beta 10P82s extensions has no member
I was testing out Xcode 10.2 beta 10P82s. I created a new branch on my current app and when I tried to convert to Swift 5 it asked me to make sure I could build on all targets before I converted. This was strange because there were NO errors when I…

RubberDucky4444
- 2,330
- 5
- 38
- 70
-1
votes
1 answer
Value of optional type 'PKPaymentAuthorizationViewController?' must be unwrapped
When I try to compile react-native app for iOS below code block for ApplePay
let applePayController = PKPaymentAuthorizationViewController(paymentRequest: request)
applePayController.delegate = self
let…

HM.Rajjaz
- 369
- 1
- 3
- 17