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 architecture arm64" and all are "duplicate symbol __TMRbBp". Whats that?
相关问题
- Falling back to loading access token from NSUserDe
- Running 1 of 2 custom shell script stuck for 2 min
- Linker command failed with exit code 1 - duplicate
- EXC_BAD_ACCESS error for invoking method in swift
- ld: library not found for -lGoogleToolboxForMac
相关文章
- Falling back to loading access token from NSUserDe
- Running 1 of 2 custom shell script stuck for 2 min
- Linker command failed with exit code 1 - duplicate
- EXC_BAD_ACCESS error for invoking method in swift
- ld: library not found for -lGoogleToolboxForMac
- Unable to retrieve CarrierName
- Xcode 8.1 swift 3 take forever to compile this cod
- Adding/Edit a pod file after initial init “firebas
I had removed files from Compile Sources in Build Phases in Targets. I added
main.m
and it worked.Don't double click Project.xcodeproj to start your xcode project. Instead, close your project and open the xcworkspace.
All my errors are gone.
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
Add to Podfile
pod 'Firebase/Core'
And finally:
Dont forget to add firebase to your AppDelegate
If you're using Ionic and the Push and Console plugins that's the problem. Remove the cordova console plugin (which is deprecated) and the error will disappear.
The linker error is saying that a library is duplicated which is, in fact, true because the console plugin is already in cordova-ios 4.5+
It took me a couple of hours to figure this out!
I ran into this problem recently creating a new project and adding some pods (AlamoFire specifically) to the project. Troubled with it a couple hours or so recreating the project (it was new) several times. Tried all the methods here and no luck.
Eventually I figured out that it was because XCode V10.1 was also opening the old project file along with the new pod-created workspace when I opened the workspace via command line "open myProject.xcworkspace" when I reopened the project after doing "pod install"
Closing all projects before exiting XCode before I did my "pod install" fixed everything for me.
In my case
Problem Solved