Linker command failed with exit code 1 - duplicate symbol __TMRbBp

前端 未结 15 2081
醉酒成梦
醉酒成梦 2020-12-25 10:43

Since I\'ve updated to Xcode 8.1 I can\'t archive and also not run in Release mode (in debug mode its working). The error is that there are several \"duplicate symbols for a

15条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-25 10:59

    1.Close your project:Completely quit Xcode. 2.Go to your project location:there you will find two files in you root folder with varying extensions: Appname.xcodeproj and Appname.xcworkspace

    Now open your project by Double clicking on file with the extensions xcworkspace.(***Appname.xcworkspace*)**

    Yourproject will open in xcode. Now run your project again.

    If you pay close attention when installing your pods,firebase makes it clear to open your project with your-project.xcworkspace after installing pods firebaseIOS Setup

     $ cd your-project directory
     $ pod init
    

    Add to Podfile

    pod 'Firebase/Core'

    And finally:

        $ pod install
        $ open your-project.xcworkspace
    

    Dont forget to add firebase to your AppDelegate

提交回复
热议问题