I tried every solution like upgraded flutter, restart system, delete derived data, uninstall and reinstall pods, remove other flags in target but same error.
here is all log
Ld /Users/milesnanton/Library/Developer/Xcode/DerivedData/Runner-dwoeqpqugkcdzlebfctpnzmnfsee/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/url_launcher_ios.framework/url_launcher_ios normal (in target 'url_launcher_ios' from project 'Pods')
cd /Users/milesnanton/Desktop/app/float/ios/Pods
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios12.0 -dynamiclib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk -<br/>L/Users/milesnanton/Library/Developer/Xcode/DerivedData/Runner-dwoeqpqugkcdzlebfctpnzmnfsee/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/url_launcher_ios -F/Users/milesnanton/Library/Developer/Xcode/DerivedData/Runner-dwoeqpqugkcdzlebfctpnzmnfsee/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/url_launcher_ios -F/Users/milesnanton/Developer/flutter/bin/cache/artifacts/engine/ios-release/Flutter.xcframework/ios-arm64_armv7 -filelist <br/>/Users/milesnanton/Library/Developer/Xcode/DerivedData/Runner-dwoeqpqugkcdzlebfctpnzmnfsee/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/url_launcher_ios.build/Objects-normal/arm64/url_launcher_ios.LinkFileList -install_name #rpath/url_launcher_ios.framework/url_launcher_ios -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/milesnanton/Library/Developer/Xcode/DerivedData/Runner-dwoeqpqugkcdzlebfctpnzmnfsee/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/url_launcher_ios.build/Objects-normal/arm64/url_launcher_ios_lto.o -fembed-bitcode -Xlinker -bitcode_verify -Xlinker -bitcode_hide_symbols -Xlinker -bitcode_symbol_map -Xlinker /Users/milesnanton/Library/Developer/Xcode/DerivedData/Runner-dwoeqpqugkcdzlebfctpnzmnfsee/Build/Intermediates.noindex/ArchiveIntermediates/Runner/BuildProductsPath/Release-iphoneos/url_launcher_ios -fobjc-arc -fobjc-link-runtime -framework Flutter -framework Foundation -compatibility_version 1 -current_version 1 -Xlinker -dependency_info -Xlinker /Users/milesnanton/Library/Developer/Xcode/DerivedData/Runner-dwoeqpqugkcdzlebfctpnzmnfsee/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/url_launcher_ios.build/Objects-normal/arm64/url_launcher_ios_dependency_info.dat -o /Users/milesnanton/Library/Developer/Xcode/DerivedData/Runner-dwoeqpqugkcdzlebfctpnzmnfsee/Build/Intermediates.noindex/ArchiveIntermediates/Runner/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/url_launcher_ios.framework/url_launcher_ios
Related
My app was working great until about two hours ago when I got a link error regarding an unsafe mutable addressor.
What I've tried:
Clean and build, deintegrated and reinstalled my cocoapods, deleted derived data, restart XCode, restart Mac
None of this has helped. Can anyone tell me from the error text what the problem is?
Ld /Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Products/Debug-iphoneos/Zoomoji.app/Zoomoji normal (in target 'Zoomoji' from project 'Zoomoji')
cd /Users/eligarfinkel/Documents/Zoomoji
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-ios15.4 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk -L/Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Products/Debug-iphoneos -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS15.5.sdk/usr/lib/swift -F/Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Products/Debug-iphoneos -F/Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Products/Debug-iphoneos/SwiftSpeech -F/Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Products/Debug-iphoneos/SwiftySound -filelist /Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Intermediates.noindex/Zoomoji.build/Debug-iphoneos/Zoomoji.build/Objects-normal/arm64/Zoomoji.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Intermediates.noindex/Zoomoji.build/Debug-iphoneos/Zoomoji.build/Objects-normal/arm64/Zoomoji_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fembed-bitcode-marker -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Intermediates.noindex/Zoomoji.build/Debug-iphoneos/Zoomoji.build/Objects-normal/arm64/Zoomoji.swiftmodule -framework AVFoundation -framework Foundation -framework SwiftSpeech -framework SwiftySound -framework Pods_Zoomoji -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Intermediates.noindex/Zoomoji.build/Debug-iphoneos/Zoomoji.build/Objects-normal/arm64/Zoomoji_dependency_info.dat -o /Users/eligarfinkel/Library/Developer/Xcode/DerivedData/Zoomoji-habngemvvlqbmiajrhdkufqvpnis/Build/Products/Debug-iphoneos/Zoomoji.app/Zoomoji
Undefined symbols for architecture arm64:
"unsafeMutableAddressor of self #1 : Zoomoji.ContentView in Zoomoji.ContentView.body.getter : some", referenced from:
closure #3 () -> () in closure #1 () -> SwiftUI.TupleView<(SwiftUI.Text, SwiftUI.Button<SwiftUI.Text>, <<opaque return type of (extension in SwiftUI):SwiftUI.View.onAppear(perform: (() -> ())?) -> some>>.0, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftSpeech.SwiftSpeech.RecordButton, SwiftSpeech.SwiftSpeech.ViewModifiers.RecordOnHold>, SwiftSpeech.SwiftSpeech.ViewModifiers.OnRecognize>)> in closure #1 () -> SwiftUI.TupleView<(<<opaque return type of (extension in SwiftUI):SwiftUI.View.edgesIgnoringSafeArea(SwiftUI.Edge.Set) -> some>>.0, SwiftUI.VStack<SwiftUI.TupleView<(SwiftUI.Text, SwiftUI.Button<SwiftUI.Text>, <<opaque return type of (extension in SwiftUI):SwiftUI.View.onAppear(perform: (() -> ())?) -> some>>.0, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftSpeech.SwiftSpeech.RecordButton, SwiftSpeech.SwiftSpeech.ViewModifiers.RecordOnHold>, SwiftSpeech.SwiftSpeech.ViewModifiers.OnRecognize>)>>)> in Zoomoji.ContentView.body.getter : some in ContentView.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I figured it out. I had a double instantiation of a variable. Once I deleted that, the app compiled normally.
Tried to use OpenCV library in swift.
The library forces me to implement changes below :
Otherwise, without those changes i get an error:
Also in this App i want the user to pick an image from phone's gallery. To handle it, I'm using PHPicker.
However, with Excluded Architectures set, I'm not able to pick any image from the gallery, there's buch of errors/warnings in Terminal.
Without Excluded Architectures app will crash with Error as at second screen.
Any ideas or tips ?
Error from screen
Ld /Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Products/Debug-iphonesimulator/OpenCVTest.app/OpenCVTest normal (in target 'OpenCVTest' from project 'OpenCVTest')
cd /Users/Kacper/Downloads/OpenCVTest
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target arm64-apple-ios12.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator15.2.sdk -L/Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Products/Debug-iphonesimulator -F/Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Products/Debug-iphonesimulator -F/Users/Kacper/Downloads/OpenCVTest -filelist /Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Intermediates.noindex/OpenCVTest.build/Debug-iphonesimulator/OpenCVTest.build/Objects-normal/arm64/OpenCVTest.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Intermediates.noindex/OpenCVTest.build/Debug-iphonesimulator/OpenCVTest.build/Objects-normal/arm64/OpenCVTest_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib\=libc++ -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Intermediates.noindex/OpenCVTest.build/Debug-iphonesimulator/OpenCVTest.build/Objects-normal/arm64/OpenCVTest.swiftmodule -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Intermediates.noindex/OpenCVTest.build/Debug-iphonesimulator/OpenCVTest.build/OpenCVTest.app-Simulated.xcent -framework opencv2 -framework CoreFoundation -framework Accelerate -framework CoreGraphics -framework AssetsLibrary -framework CoreMedia -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Intermediates.noindex/OpenCVTest.build/Debug-iphonesimulator/OpenCVTest.build/Objects-normal/arm64/OpenCVTest_dependency_info.dat -o /Users/Kacper/Library/Developer/Xcode/DerivedData/OpenCVTest-agzhkmtplgmvfohcejwaizkysxoy/Build/Products/Debug-iphonesimulator/OpenCVTest.app/OpenCVTest
ld: in /Users/Kacper/Downloads/OpenCVTest/opencv2.framework/opencv2(ios_conversions.o), building for iOS Simulator, but linking in object file built for iOS, for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Text formating of error is not my fault!
so, building for iOS Simulator, but linking in object file built for iOS, for architecture arm64 I guess that means you need the library built for the simulator, not for the actual target device.
It works when you try compile it, using real iPhone/iPad
I am developing a react native app. When I build the project in Xcode, the build failed, and here is the error:
Ld /Users/nitieii/Library/Developer/Xcode/DerivedData/BiceUser-dedbblwkymtlkzciefxyqepnavct/Build/Products/Debug-iphonesimulator/BiceUser.app/BiceUser normal (in target 'BiceUser' from project 'BiceUser')
cd /Users/nitieii/Desktop/BiceUserAppProject/ios
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-ios10.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.5.sdk -L/Users/nitieii/Library/Developer/Xcode/DerivedData/BiceUser-dedbblwkymtlkzciefxyqepnavct/Build/Products/Debug-iphonesimulator -F/Users/nitieii/Library/Developer/Xcode/DerivedData/BiceUser-dedbblwkymtlkzciefxyqepnavct/Build/Products/Debug-iphonesimulator -filelist /Users/nitieii/Library/Developer/Xcode/DerivedData/BiceUser-dedbblwkymtlkzciefxyqepnavct/Build/Intermediates.noindex/BiceUser.build/Debug-iphonesimulator/BiceUser.build/Objects-normal/x86_64/BiceUser.LinkFileList -Xlinker -rpath -Xlinker /usr/lib/swift -Xlinker -rpath -Xlinker #executable_path/Frameworks -dead_strip -Xlinker -object_path_lto -Xlinker /Users/nitieii/Library/Developer/Xcode/DerivedData/BiceUser-dedbblwkymtlkzciefxyqepnavct/Build/Intermediates.noindex/BiceUser.build/Debug-iphonesimulator/BiceUser.build/Objects-normal/x86_64/BiceUser_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -ObjC -lDoubleConversion -lFBReactNativeSpec -lPermission-Camera -lRCT-Folly -lRCTTypeSafety -lRNAWSCognito -lRNCAsyncStorage -lRNCCheckbox -lRNGestureHandler -lRNImageCropPicker -lRNPermissions -lRNSVG -lRNScreens -lRNVectorIcons -lReact-Core -lReact-CoreModules -lReact-RCTAnimation -lReact-RCTBlob -lReact-RCTImage -lReact-RCTLinking -lReact-RCTNetwork -lReact-RCTSettings -lReact-RCTText -lReact-RCTVibration -lReact-cxxreact -lReact-jsi -lReact-jsiexecutor -lReact-jsinspector -lReact-perflogger -lReactCommon -lTOCropViewController -lYoga -lglog -lreact-native-camera -lreact-native-image-picker -lreact-native-netinfo -lreact-native-safe-area-context -lstdc++ -framework AudioToolbox -framework JavaScriptCore -framework MobileCoreServices -framework Photos -ObjC -lc++ -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/nitieii/Library/Developer/Xcode/DerivedData/BiceUser-dedbblwkymtlkzciefxyqepnavct/Build/Intermediates.noindex/BiceUser.build/Debug-iphonesimulator/BiceUser.build/BiceUser.app-Simulated.xcent -lPods-BiceUser -Xlinker -no_adhoc_codesign -Xlinker -dependency_info -Xlinker /Users/nitieii/Library/Developer/Xcode/DerivedData/BiceUser-dedbblwkymtlkzciefxyqepnavct/Build/Intermediates.noindex/BiceUser.build/Debug-iphonesimulator/BiceUser.build/Objects-normal/x86_64/BiceUser_dependency_info.dat -o /Users/nitieii/Library/Developer/Xcode/DerivedData/BiceUser-dedbblwkymtlkzciefxyqepnavct/Build/Products/Debug-iphonesimulator/BiceUser.app/BiceUser
ld: library not found for -lDoubleConversion
clang: error: linker command failed with exit code 1 (use -v to see invocation)
So I post this question to ask how to solve this issue and what is the main reason for this error. Thank you so much!!!!
You need to delete your DerivedData project folder:
'Xcode' -> 'Preferences' -> 'Locations' tab -> At 'Derived Data' click the open icon and delete the folder in Finder.
Then Clean build folder. Also make sure you have xcworkspace open not xcproject and also try pod deintegrate and pod install prior to this from inside the iOS dir of the project.
Xcode 10.1
Xcode Product->Build works fine
Project is OLD. Migrated from pre-Xcode 9.
No tests in the project
Add unit test target (containing only the empty sample test)
Product->Test fails and crashes the build system
It seems to be caused by a link naturally created by the build from the DerivedData to the /tmp directory.
Xcode compiler output:
error: unexpected explicit output: '<TRIGGER: SymLink /Users/bill.shirley/Library/Developer/Xcode/DerivedData/Projects-aacmhfqthnovqgecjzbjrmjgtxae/Build/Products/Debug-iphoneos/ios1.app /tmp/Kevin.dst/Applications/ios1.app>'
error: unexpected service error: The Xcode build system has crashed. Please close and reopen your workspace.
related but unhelpful Xcode: invalid symlink error when trying to run app in iOS simulator
I've attempted lots of quit and restart Xcode (required), deleting of derived data, making clean, deleting simulators, rebooting with everything clean and reading empty test. To no avail.
I would love to rebuild this project from scratch, but it's massive and I don't have (i.e. want to make) the time currently.
Workaround 2: no testing.
Edit: Previously Unstated.
This app uses Cocoapods.
I tried the suggestion enter link description here, using items 2-6, running pod install when changes are made (and Podfile update) and it changed to a
ld: -bundle_loader can only be used with -bundle
clang: error: linker command failed with exit code 1 (use -v to see invocation)
invocation is:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.1.sdk -L/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator -L/Users/bill.shirley/Dev/ios/Projects/Kevin/../../Pods/CardIO/CardIO -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/Calendar -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/FirebaseCore -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/FirebaseMessaging -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/GoogleUtilities -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/Heartland-iOS-SDK -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/IGListKit -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/IOForm -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/OpenCV -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/Protobuf -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/XMLDictionary -F/Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/nanopb -F/Users/bill.shirley/Dev/ios/Projects/Kevin/../../Pods/Crashlytics/iOS -F/Users/bill.shirley/Dev/ios/Projects/Kevin/../../Pods/Fabric/iOS -F/Users/bill.shirley/Dev/ios/Projects/Kevin/../../Pods/FirebaseAnalytics/Frameworks -F/Users/bill.shirley/Dev/ios/Projects/Kevin/../../Pods/FirebaseInstanceID/Frameworks -F/Users/bill.shirley/Dev/ios/Projects/Kevin/../../Pods/GoogleAppMeasurement/Frameworks -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks -filelist /Users/bill.shirley/Dev/ios/Build/Intermediates.noindex/Kevin.build/Debug-iphonesimulator/ios1Tests.build/Objects-normal/x86_64/ios1Tests.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -Xlinker -rpath -Xlinker #executable_path/Frameworks -Xlinker -rpath -Xlinker #loader_path/Frameworks -mios-simulator-version-min=12.1 -dead_strip -bundle_loader /Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/ios1.app/ios1 -Xlinker -object_path_lto -Xlinker /Users/bill.shirley/Dev/ios/Build/Intermediates.noindex/Kevin.build/Debug-iphonesimulator/ios1Tests.build/Objects-normal/x86_64/ios1Tests_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/bill.shirley/Dev/ios/Build/Intermediates.noindex/Kevin.build/Debug-iphonesimulator/ios1Tests.build/Objects-normal/x86_64/ios1Tests.swiftmodule -lstdc++ -ObjC -lCardIO -lc++ -lopencv_core -lopencv_imgproc -lsqlite3 -lz -framework AVFoundation -framework Accelerate -framework AudioToolbox -framework Calendar -framework CoreMedia -framework CoreVideo -framework Crashlytics -framework FIRAnalyticsConnector -framework Fabric -framework FirebaseAnalytics -framework FirebaseCore -framework FirebaseCoreDiagnostics -framework FirebaseInstanceID -framework FirebaseMessaging -framework Foundation -framework GoogleAppMeasurement -framework GoogleUtilities -framework Heartland_iOS_SDK -framework IGListKit -framework IOForm -framework MobileCoreServices -framework OpenGLES -framework Protobuf -framework QuartzCore -framework Security -framework StoreKit -framework SystemConfiguration -framework UIKit -framework XMLDictionary -framework nanopb -framework opencv2 -framework XCTest -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/bill.shirley/Dev/ios/Build/Intermediates.noindex/Kevin.build/Debug-iphonesimulator/ios1Tests.build/ios1Tests.xctest-Simulated.xcent -framework Pods_ios1Tests -Xlinker -dependency_info -Xlinker /Users/bill.shirley/Dev/ios/Build/Intermediates.noindex/Kevin.build/Debug-iphonesimulator/ios1Tests.build/Objects-normal/x86_64/ios1Tests_dependency_info.dat -o /Users/bill.shirley/Dev/ios/Build/Products/Debug-iphonesimulator/ios1.app/PlugIns/ios1Tests.xctest/ios1Tests
I have been trying for hours to fix this build error.
None of the advice from the dozens of threads I've read has fixed this error. What can I do?
"ld: entry point (_main) undefined. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see >invocation)"
Ld /Users/yanayrosen/Library/Developer/Xcode/DerivedData/The-Talon-ebdutvfwgeagoxgpqbewfvfjaksq/Build/Intermediates/The-Talon.build/Release-iphoneos/The-Talon.build/Objects-normal/arm64/The-Talon normal arm64
cd /Users/yanayrosen/Desktop/Talon-Iphone-master
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/yanayrosen/Library/Developer/Xcode/DerivedData/The-Talon-ebdutvfwgeagoxgpqbewfvfjaksq/Build/Products/Release-iphoneos -L/Users/yanayrosen/Desktop/Talon-Iphone-master/../../../../Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/../iPhoneOS.sdk/usr/lib -F/Users/yanayrosen/Library/Developer/Xcode/DerivedData/The-Talon-ebdutvfwgeagoxgpqbewfvfjaksq/Build/Products/Release-iphoneos -F/Users/yanayrosen/Desktop/Talon-Iphone-master -F/Users/yanayrosen/Desktop/Talon-Iphone-master/Talon -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/../iPhoneOS.sdk/System/Library/Frameworks -filelist /Users/yanayrosen/Library/Developer/Xcode/DerivedData/The-Talon-ebdutvfwgeagoxgpqbewfvfjaksq/Build/Intermediates/The-Talon.build/Release-iphoneos/The-Talon.build/Objects-normal/arm64/The-Talon.LinkFileList -Xlinker -rpath -Xlinker #executable_path/Frameworks -miphoneos-version-min=8.0 -dead_strip -fembed-bitcode-marker -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos -Xlinker -add_ast_path -Xlinker /Users/yanayrosen/Library/Developer/Xcode/DerivedData/The-Talon-ebdutvfwgeagoxgpqbewfvfjaksq/Build/Intermediates/The-Talon.build/Release-iphoneos/The-Talon.build/Objects-normal/arm64/The_Talon.swiftmodule -framework SystemConfiguration -framework StoreKit -framework Security -framework QuartzCore -lz.1 -lsqlite3 -framework CoreLocation -framework CoreGraphics -framework CFNetwork -framework AudioToolbox -Xlinker -dependency_info -Xlinker /Users/yanayrosen/Library/Developer/Xcode/DerivedData/The-Talon-ebdutvfwgeagoxgpqbewfvfjaksq/Build/Intermediates/The-Talon.build/Release-iphoneos/The-Talon.build/Objects-normal/arm64/The-Talon_dependency_info.dat -o /Users/yanayrosen/Library/Developer/Xcode/DerivedData/The-Talon-ebdutvfwgeagoxgpqbewfvfjaksq/Build/Intermediates/The-Talon.build/Release-iphoneos/The-Talon.build/Objects-normal/arm64/The-Talon"