ld: framework not found MBProgressHUD(Nativescript) - nativescript

I'm new in using Xcode and I want archive project. It cause this kind of error after I update to Xcode 7.3 and cocopod 1.0.0. And I try downgrade to Xcode 7.1 also same. What setting will cause this error message?
ld: warning: directory not found for option '-F/Users/bae-nb-050/Library/Developer/Xcode/DerivedData/SL-fbodsjqbjvdhcgeemiobyapkoekm/Build/Intermediates/ArchiveIntermediates/SL/BuildProductsPath/Release-iphoneos/MBProgressHUD'
ld: framework not found MBProgressHUD
clang: error: linker command failed with exit code 1 (use -v to see invocation)

If you have upgraded your Xcode or cocoapods to a newer version. I recommend that you do a clean and a rebuild of your project. The same goes for when upgrading natviescript.
tns platform remove ios
tns platform add ios
tns prepare ios

Related

React Native IOS build failed, linker command failed with exit code 1

I'm using Xcode 12.4 on Catalina 10.15.7 intel based chip. I created a sample react native project with this 'https://reactnative.dev/docs/environment-setup' and it build and ran perfectly.
Now after further working on the project I installed react native navigation and stack navigator and styled components and vector icon dependencies. Now I run into this issue. Plz help me to resolve this. Thanks.
error on Xcode build
ld: warning: directory not found for option '-L-L/Users/ahyanawaz/Library/Developer/Xcode/DerivedData/Store-bekhqxqflgsqtyheijdxkrbwrksk/Build/Products/Debug-iphonesimulator/CocoaAsyncSocket'
ld: library not found for -lCocoaAsyncSocket
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Maybe try npm install or yarn then cd ios && pod install

Invalid bitcode version for archiving iOS app

When I try to Archive my app in Xcode 11.2.1 it returns the error:
I have previously worked on the app with the beta version of Xcode 13.
I have tried to turn Enable Bitcode to No but that did not fix the problem.
I get an error in the Stripe Cocoapod:
ld: could not reparse object file in bitcode bundle: 'Invalid bitcode version (Producer: '1103.0.32.62.0_0' Reader: '1100.0.33.12_0')', using libLTO version 'LLVM version 11.0.0, (clang-1100.0.33.12)' for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
The Stripe CocoaPod was built with Xcode 11.5 or 11.6. Three options:
Upgrade to at least Xcode 11.5.
Ask Stripe to support Xcode 11.2.1
Change the Podfile to use an older version of Stripe.

ld: framework not found KudanAR

I have getting iOS SDK(1.3.1) for KudanAR.
I tried to builded the KudanARsample in Xcode.
However, you will see an error such as the following.
ld: framework not found KudanAR
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am installed already 'KudanAR.framework'.
I wonder if the packages is missing?
Download from:
https://github.com/kudan-eu/Simple-Samples-iOS
Development environment:
Xcode 8.0,iOS 10,OS X
Please answer....
As the README instructions say:
In order for this sample project to work, you will need to download the KudanAR framework from the Kudan website. Then simply drop the framework into the root project directory and run the Xcode project.
You can get it from the Kudan website

Xcode 4.2 to Xcode 7.2 issues

I am migrating code I wrote fore Xcode4.2 into Xcode 7.2.
I get the following error:
ld: -pie can only be used when targeting iOS 4.2 or later
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Not sure what this is about... ?
Your deployment target is set to 4.0 but -pie can only be used when targeting iOS 4.2 or later as clearly stated by the above error message. Try setting your deployment target to 6.0. This is the lowest deployment target supported by Xcode 7.2.

CocoaPods not installing Alamofire in Swift Parse Chat App

I am trying to compile and run the following application (Swift Chat App using Alamofire).
https://github.com/huyouare/SwiftParseChat
I am using ruby-2.0.0 , cocoapods 0.37.1, xcode 6.3, Alamofire 1.2.0
I am installing it using the normal <pod install> command. No errors or warnings during the process.
However, when compiling, I get:
No such Module 'Alamofire'
If I install Alamofire manually, however, when compiling I get an Apple Match-O Linker Error :
ld: warning: directory not found for option '-F/Users/cristian/Library/Developer/Xcode/DerivedData/SwiftParseChat-btvjczpwjlekftetblbfrbposakh/Build/Products/Debug-iphoneos/Pods'
ld: framework not found Pods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What is behind this??
Thanks !
If everything is setup correctly, errors such as
No such Module 'Alamofire'
occur when you build your project from .xcodeproj.
By default you need to build project integrating CocoaPods from .xcworkspace.

Resources