symbol(s) not found for architecture arm64
Solution 1
I had same issue make your your ".m" implementation files are assigned to the Target Membership:
Solution 2
For me none of these answers worked, and appeared to cause more problems.
My solution was in terminal trying "pod install" It added a missing file for me and everything was good to go
Solution 3
Try this Goto Project -> Build setting Serach enable bitcode & set it to NO
Solution 4
change the Build Configuration from Debug to Release. Edit Scheme... -> Info -> Run -> Build Configuration
Solution 5
Check for the AppDelegate
and OnBoardingViewCtontroller
file in your project.
Just delete to and add it again. When your are adding it again make sure that Copy If needed
option is checked
This is bcoz if your uncheck this check box then the file reference is created and if you move project the you will get this error.
Comments
-
coreDeviOS about 2 years
Facing ObjC file reference issue. I tried pod deintegration, removing DerivedData, Cleaning the project, Adding -Objc and $(inherited) FLAGS.
I am using cocoapods, Xcode 9, Swift 4. Please revert if anyone have resolved this issue.
-
coreDeviOS over 6 yearsNo change. same issue.
-
Manish Malviya over 6 yearsTry updating your Pods again and Restart your Xcode. I have faced the same issue and this thing worked for me.
-
Rashed over 6 yearsCheck this stackoverflow.com/questions/49028125/… . It might be helpful for your problem.
-
coreDeviOS over 6 yearsTried it, Same issue
-
June Wang over 5 yearswhere is that .m file? how do you assign it? I can see lot of .mm files in the , I don't see any .m files in my xcode project
-
Mike Zriel about 5 years.m and .mm files are the same. ".mm" is then the code has c++ as well as Objective-c in it.