Closed johndude closed 2 years ago
Hello,
have you tried excluding arm64 like mentioned in this thread: https://stackoverflow.com/a/63955114/174373
Actually I had to do another step, newer React Native with auto-linking, setup up the pod file differently and there's an issue with the new Flipper debugger so I had to comment that out to get it to work:
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../node_modules/react-native/scripts/react_native_pods'
platform :ios, '10.0'
target 'MyApp' do
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
# you should disable these next few lines.
# use_flipper!
# post_install do |installer|
# flipper_post_install(installer)
# end
end
We don't actively monitor the Github Issues, please raise a support request using the Anyline Helpdesk. Link to Anyline Helpdesk: https://anyline.atlassian.net/servicedesk/customer/portal/2/group/6
When raising a support request based on this Github Issue, please fill out and include the following information:
Support request concerning Anyline Github Repository: [URL to relevant Anyline Github Repository here] Support request based on Github Issue: [URL to relevant Github Issue here]
Thank you so much!
I get the following message when I try to build and run the react native project on a new MacBook with M1 chip.
/Users/me/dev/clients/OctopusEnergy/octopusenergy2020/ios/Pods/Anyline/AnylineSDK_iOS_17/Framework/Anyline.framework/Anyline(libtesseract_api_la-baseapi.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/me/dev/clients/OctopusEnergy/octopusenergy2020/ios/Pods/Anyline/AnylineSDK_iOS_17/Framework/Anyline.framework/Anyline' for architecture arm64
To replicate, get a M1 based Mac. Open Finder and locate terminal, right-click then get info then run with Rosetta. Next install Homebrew, cocoa pods. react native etc. Then clone your project from git and try run it on simulator.
No other issues except a build error shown above.