react-native-nodemediaclient icon indicating copy to clipboard operation
react-native-nodemediaclient copied to clipboard

xcode 12-Nodemediaclient error on build for simulator only but build successful on iphonex device

Open RupamShaw opened this issue 5 years ago • 7 comments

ld: in /Users/...../ios/Pods/NodeMediaClient/NodeMediaClient/NodeMediaClient.framework/NodeMediaClient(aacpsdsp.o), building for iOS Simulator, but linking in object file built for free standing, file '/Users/shojo/..../ios/Pods/NodeMediaClient/NodeMediaClient/NodeMediaClient.framework/NodeMediaClient' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

step to reproduce

yarn cache clean
watchman watch-del-all
deleting node_modules, 
delete. ~/Library/Developer/Xcode/DerivedData
cd ios    -----pod deintegrate && pod cache clean --all

yarn install
npx pod-install

yarn start --reset-cache

open xcode product===clean build folder
xcode product--build/run

I am having

 Xcode 12 -MacOS catalina10.15.6 error started after updating xcode version 12. 

    "react": "~16.11.0",
    "react-dom": "~16.11.0",
    "react-native": "~0.62.2",

"react-native-nodemediaclient": "^0.2.10",

please let me know @illuspas

RupamShaw avatar Sep 20 '20 14:09 RupamShaw

Updated to v0.2.11 And make sure the iOS SDK is updated to v2.8.6

illuspas avatar Sep 21 '20 01:09 illuspas

@illuspas, I just tried with new blank project awesomeproject addedreact-native-nodemediaclient": "^0.2.11 npx pod install

 CocoaPods could not find compatible versions for pod "NodeMediaClient":
  In Podfile:
    react-native-nodemediaclient (from `../node_modules/react-native-nodemediaclient`) was resolved to 0.2.11, which depends on
      NodeMediaClient (= 2.8.6)

please let me know how to proceed please add podfile ... or i should add pod 'NodeMediaClient', '~> 2.8.6' and comment flipper

RupamShaw avatar Sep 21 '20 01:09 RupamShaw

please let me know how to update nodemediaclient @illuspas I am using "react-native": "~0.62.2" pod install


Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "NodeMediaClient":
  In Podfile:
    NodeMediaClient (~> 2.8.6)

    react-native-nodemediaclient (from `../node_modules/react-native-nodemediaclient`) was resolved to 0.2.11, which depends on
      NodeMediaClient (= 2.8.6)

None of your spec sources contain a spec satisfying the dependencies: `NodeMediaClient (~> 2.8.6), NodeMediaClient (= 2.8.6)`.

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

RupamShaw avatar Sep 21 '20 01:09 RupamShaw

Hi i have the same problem:

    "react": "16.8.6",
    "react-native": "0.60.5",
    "react-native-nodemediaclient": "^0.2.0",
Captura de Pantalla 2020-09-22 a la(s) 09 43 07

update in package.json

"react-native-nodemediaclient": "0.2.11",

I downloaded https://github.com/NodeMedia/NodeMediaClient-iOS

copy in './Pods/NodeMediaClient

and in podfile

pod 'NodeMediaClient', :podspec => './Pods/NodeMediaClient/NodeMediaClient.podspec' use_unimodules! use_native_modules! use_frameworks!

Enables Flipper.

Note that if you have use_frameworks! enabled, Flipper will not work and

you should disable these next few lines.

add_flipper_pods!

post_install do |installer|

flipper_post_install(installer)

end

On Wed, Sep 23, 2020 at 12:46 AM Binni Zenobio Cordova Leandro < [email protected]> wrote:

Hi i have the same problem:

"react": "16.8.6",
"react-native": "0.60.5",
"react-native-nodemediaclient": "^0.2.0",

[image: Captura de Pantalla 2020-09-22 a la(s) 09 43 07] https://user-images.githubusercontent.com/42467277/93897717-07026180-fcb8-11ea-87f5-d67f9f5f75cf.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NodeMedia/react-native-nodemediaclient/issues/115#issuecomment-696769452, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABE6HVR6IFNN5B2E3RTFSQLSHC2CXANCNFSM4RTVAJKA .

RupamShaw avatar Sep 23 '20 04:09 RupamShaw

Updated to v0.2.11 And make sure the iOS SDK is updated to v2.8.6

it's work. thanks

yuni27 avatar Oct 02 '20 10:10 yuni27

Updated to v0.2.11 And make sure the iOS SDK is updated to v2.8.6

Finally!!! this is the bug that has consumed more time from me in my entire career (I have more than 10 years dev experience)

binaryme avatar May 02 '21 21:05 binaryme