[iOS] Undefined symbols for architecture arm64: "_RCTSetLogFunction"
Hello, I have this linking error: Undefined symbols for architecture arm64: "_RCTSetLogFunction", referenced from: -[PropertyFinderTests testRendersWelcomeScreen] in PropertyFinderTests.o
When i try to compile the default project on iOS. (using react-native init)
If anything broke this it might have been my commit: https://github.com/facebook/react-native/commit/19f922aa806b027348d9243b0085126fe553e266
@kmagiera @brentvatne @ide Are you hitting this as well? My Xcode is unfortunately busted, reinstalling now.
@javache is in London and it's quite late here. Can you unblock yourself by commenting out the test code until we can repro?
@javache is with me at at-scale conf in SJ, he promised to take a look
Awesome, thank you @kmagiera and @javache!
Just did react-native init MyAwesomeApp and the app builds from Xcode and runs on an iPhone 6 simulator. What device are you using?
@Javanaise - which version of Xcode? Only 6.3+ are supported
@mkonicek A real iphone 6 @brentvatne 6.4
@Javanaise - try pressing ⌘+k to clean the build and run it again
@brentvatne did a Clean and a Clean build folder, still fails
@Javanaise - have you tried in the simulator?
@brentvatne it's working in the simulator
@Javanaise - what OS version?
Same problem on iphone 6 ios 8.3. It is working on the simulator.
Also what simulator? Make sure it's 5s or newer which runs the x86_64 libs.
@brentvatne os x ? 10.10.5 @ide I used iphone 6 for the simulator, and it built. I only have a problem with both my iphone 6 and 5 real phones.
The same problem iPhone 6 iOS 8.4 OS X El Capitan 15A282b
Compiling fine for me (even after cleaning) w/actual iPhone 6, Xcode 7 GM, El Cap beta 8. Wonder if Xcode is the issue here...
Also same problem Xcode Version 6.4 (6E35b) iphone6 plus ios 8.4.1 OSX 10.10.5
Same here,
Xcode 7 GM iphone6 ios 8.4.1 OSX 10.10.5
fails only on real device.
as a quick workaround, removing tests makes this go away
I can repro this when building the SampleApp for testing for iPhone 6 using Xcode 7 GM. Investigating.