Cannot get Turbo Native Example to build on M1 Mac - react-native

I am trying to get a simple RN app to build accessing a Turbo Native ObjC++ module. I followed the example in the Turbo Native docs (https://reactnative.dev/docs/next/the-new-architecture/pillars-turbomodules). I did comment out fabric_enabled and flipper lines from the Podfile and that got rid of some warnings. But I still get this error and I do not know how to solve it:
The following build commands failed:
CompileC /Users/MCHALTX1/Library/Developer/Xcode/DerivedData/adcConsoleApp-eudyfqiurftvwseixxuzruouwnqy/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/rtn-dcs.build/Objects-normal/arm64/RTNDcs.o /Users/MCHALTX1/testdev/reactProjs/MyProject/MyProject/node_modules/rtn-dcs/ios/RTNDcs.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'rtn-dcs' from project 'Pods')
(1 failure)
I am stuck as to how to fix this. Oh and Xcode version=14.0.1, react-native version=0.70.3

Related

React native error on view pager adding in iOS android works fine how to resolve it?

"#react-native-community/viewpager": "^2.0.2",
The following build commands failed:
CompileC /Users/innoappstech/Library/Developer/Xcode/DerivedData/base-bdidefvmpxcbkoesztljqiocxpqn/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-viewpager.build/Objects-normal/x86_64/ReactViewPagerManager.o /Users/innoappstech/Desktop/projects/base/node_modules/#react-native-community/viewpager/ios/ReactViewPagerManager.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
As I need it for scrollview and it works in android only this version. So getting error on iOS. SO anybody can provide me solution. I tried so many things and changing pod files dependencies and other things but nothing worked for me.
I was able resolve the issue using the latest version 5.0.11.
"#react-native-community/viewpager": "^5.0.11",
But this package has been deprecated.
And a new package is available at react-native-pager-view

xcode the file couldn't be opened because you don’t have permission to view it

I have an Xcode project with Cocoa Pods installed which I added a tvOS single view app target. I shared with the tvOS target all the pod installed.
When I build and run my iOS target everything is ok, but when I run the tvOS target I get this error
"ld: library not found for -lAFNetworking
clang: error: linker command failed with exit code 1 (use -v to see invocation)"
So after searching on the web I found a solution to this error. If I go to the Build Settings for the tvOS target and under Valid Architectures I remove arm64 and type armv7 the error disappears but then when i run the project i get this:
So if I leave the arm64 I get the first error, if I remove it I get the other one...
Someone knows how can I fix it?

8th Wall XR XCode Build Error

I imported the XR plugin into my Unity project, generated the XCode project, then got a build error when trying to build the project in XCode:
ld: framework not found ARKit
clang: error: linker command failed with exit code 1 (use -v to see invocation)
All I've done so far is follow the instructions provided in the documentation. Any ideas what could be going on? I'm currently using Unity 5.5.0 and XCode 8.3.3.
I look at the documentation link and it says supporting XCode 9 or above. I just tried and it works for me on XCode 9.

Build Error on react-native-navigation first time

I have tried to build a react-native app using react-native-navigation. I've went through all the setup stages, but when I try and run the app, I get the following error:
** BUILD FAILED **
The following build commands failed:
CompileC /www/MyProject/ios/build/Build/Intermediates/ReactNativeControllers.build/Debug-iphonesimulator/ReactNativeControllers.build/Objects-normal/x86_64/RCCNavigationController.o RCCNavigationController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Any idea what can be causing this?
I thought i was the only one getting this error bro.
After upgrading to react-native 0.31 today, react-native-navigation was having problems. It was working just fine before.
Adding runtime header wouldn't solve the problem. It would let the build go through successfully but the build crashed on me in runtime.
I'm currently considering rebuilding scene transition entirely using react-native-router-flux.

Compile error on QuickBlox iOS SDK (v1.5.1)

Download the latest QuickBlox iOS SDK (v1.5.1) and tried to compile and run the sample chat example, failed to compiled with multiple issues.
I assume the Sample Chat project (called supersimple) to work out-of-the-box but unfortunately no...
Issue #1:
ld: library not found for -lxml2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Issue #2:
fatal error: file '//quickblox-ios-sdk-master-1.5.1/sample-chat/../Framework/Quickblox.framework/Headers/RatingsService/RatingsServiceFramework.h' has been modified since the precompiled header was built
For issue #2, I did tried to do clean build folder (option+shift+cmd+K) and rebuilt, didn't work.
I'm using XCode 4.6.1 on Mac OSX 10.8.3.