symbol(s) not found for architecture arm64

18,197

Solution 1

I had same issue make your your ".m" implementation files are assigned to the Target Membership: symbol(s) not found for architecture arm64

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.

Share:
18,197
coreDeviOS
Author by

coreDeviOS

Developing iOS applications.

Updated on June 12, 2022

Comments

  • coreDeviOS
    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. Error Description

  • coreDeviOS
    coreDeviOS over 6 years
    No change. same issue.
  • Manish Malviya
    Manish Malviya over 6 years
    Try updating your Pods again and Restart your Xcode. I have faced the same issue and this thing worked for me.
  • Rashed
    Rashed over 6 years
    Check this stackoverflow.com/questions/49028125/… . It might be helpful for your problem.
  • coreDeviOS
    coreDeviOS over 6 years
    Tried it, Same issue
  • June Wang
    June Wang over 5 years
    where 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
    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.