Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in Xcode Version 11.0 (11A420a) not able to generate app file for app store #26558

Closed
codiotic opened this issue Sep 25, 2019 · 4 comments
Closed
Labels
Bug Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@codiotic
Copy link

Showing All Messages

Undefined symbol: _RCTSetLogFunction

Ld /Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Intermediates.noindex/AwesomeProject.build/Release-iphonesimulator/AwesomeProjectTests.build/Objects-normal/x86_64/Binary/AwesomeProjectTests normal x86_64 (in target 'AwesomeProjectTests' from project 'AwesomeProject')
    cd /Users/mac/Desktop/AwesomeProject/ios
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios9.0-simulator -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.0.sdk -L/Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Products/Release-iphonesimulator -F/Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Products/Release-iphonesimulator -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/lib -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -filelist /Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Intermediates.noindex/AwesomeProject.build/Release-iphonesimulator/AwesomeProjectTests.build/Objects-normal/x86_64/AwesomeProjectTests.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -dead_strip -bundle_loader /Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Products/Release-iphonesimulator/AwesomeProject.app/AwesomeProject -Xlinker -object_path_lto -Xlinker /Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Intermediates.noindex/AwesomeProject.build/Release-iphonesimulator/AwesomeProjectTests.build/Objects-normal/x86_64/AwesomeProjectTests_lto.o -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lc++ -lstdc++ -framework JavaScriptCore -framework XCTest -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Intermediates.noindex/AwesomeProject.build/Release-iphonesimulator/AwesomeProjectTests.build/AwesomeProjectTests.xctest-Simulated.xcent -lPods-AwesomeProjectTests -Xlinker -dependency_info -Xlinker /Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Intermediates.noindex/AwesomeProject.build/Release-iphonesimulator/AwesomeProjectTests.build/Objects-normal/x86_64/AwesomeProjectTests_dependency_info.dat -o /Users/mac/Library/Developer/Xcode/DerivedData/AwesomeProject-axtmgsmxynhlzbeubogfejnupvzc/Build/Intermediates.noindex/AwesomeProject.build/Release-iphonesimulator/AwesomeProjectTests.build/Objects-normal/x86_64/Binary/AwesomeProjectTests

Undefined symbols for architecture x86_64:
  "_RCTSetLogFunction", referenced from:
      -[AwesomeProjectTests testRendersWelcomeScreen] in AwesomeProjectTests.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

enter image description here

Used environment

xcode version : Version 11.0 (11A420a)
react-native Version : 0.60.5
ios version : 13

iOS SDKs:

  • iOS 13.0
    -sdk iphoneos13.0**

iOS Simulator SDKs:

  • iOS 13.0
  • sdk iphonesimulator13.0**

macOS SDKs:

  • DriverKit 19.0
  • sdk driverkit.macosx19.0
  • macOS 10.15
  • sdk macosx10.15
@codiotic codiotic added the Bug label Sep 25, 2019
@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the React Native version: section?

If you believe this information is irrelevant to the reported issue, you may write `[skip envinfo]` alongside an explanation in your Environment: section.

@codiotic
Copy link
Author

it is not working ,problem is that xcode not able to generate app file for app store

it create issue on build time

@team55
Copy link

team55 commented Sep 29, 2019

use https://react-native-community.github.io/upgrade-helper/ to resolve problem (RCTSetLogFunction in debug only)

@react-native-bot react-native-bot added the Ran Commands One of our bots successfully processed a command. label Oct 11, 2019
@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not contain the necessary environment info, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@facebook facebook locked as resolved and limited conversation to collaborators Oct 3, 2021
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants