building for iOS Simulator, but linking in object file built for iOS, file '.../GoogleMaps' for architecture arm64 - ios

building for iOS Simulator, but linking in object file built for iOS, file '/Users/wahab/Documents/Github/ios-code/Pods/GoogleMaps/Maps/Frameworks/GoogleMaps.framework/GoogleMaps' for architecture arm64
I found this error while compiling my swift code in macbook pro M1. Please help me on this regards Thanks

Please Follow These steps:
Close Xcode
Go to Finder
Then Click Application
Then Right-click on the "Xcode"
Then You will see "Get Info"
Then Check marked the "Open using Rosetta"

The Maps SDK for iOS does not yet contain the architecture necessary to run on the new Arm-based Mac Simulators. For now, if you are using the new Arm-based Macs, you will need to develop using a physical device.

I had the same issue in my Mac Book as well. I updated my Mac OS to latest version which is Monterey version 12.4. After updating my Mac OS, the first time when I opened my Xcode, a pop up to install the debugging tools appeared. After the installing the debugging tools in the Xcode, I was able to run the iOS application with google maps framework in my simulator. Hope it helps.
Note:
I did try changing the architectures but it's of no use.

Build your app in iOS 13.0 Simulator.

Related

Not able to run my app on Simulator which using Agora iOS SDK

I am building an iOS application which is using Agora iOS SDK pod 'AgoraRtcEngine_iOS' version 3.3.2
When I run application using real device it is working fine. But when I build application using simulator it gives an error:
Framework not found AgoraAIDenoiseExtension
My laptop has Apple M1 chip and OS Big Sur version 11.2
Please help!
I solved this issue by adding AgoraAIDenoiseExtension.xcframework file in Frameworks and Libraries
Steps to follow:
Select your project
Go to General Tab
Go to Frameworks and Libraries and click on + button.
Add respective framework files
Clean and Run your project
I see that you've solved it with a temporary fix Dalijeet, but another solution would be to use swift package manager here:
https://github.com/AgoraIO/AgoraRtcEngine_iOS

Building a Unity project into iOS without Xcode

I want to build my Unity project to the iOS platform.
When I click build to iOS I get prompted with this screen:
There says Run in Xcode as but I do not have a Mac, but correct me if I am wrong but you can not run Xcode on Windows.
So is there no way I can build my project without a Mac then?
You can’t, when you build for iOS, unity creates a project that you must open with XCode (in a Mac) and then build it to deploy it on a device or simulator.
You can use "vmware", there are good tutorials on youtube, but not sure it's legal.

Unable to find any Xcode installations thats supports at least iOS 8.0

I haven't used my development tools for Appecelerator Titanium in a while (Studio and CLI). Now I try to run an existing app in the iOS simulator.
From studio I can not select the iOS simulators.
When I use the CLI and execute: appc run (platform iOS) i get this message:
Unable to find any Xcode installations thats supports at least iOS 8.0
I have Xcode version 9.0.1 installed.
How can i connect Xcode with Titanium again?
The path of the active XCode developer directory (xcode-select -p) is:
/Applications/Xcode.app/Contents/Developer
You're probably on an SDK older than 6.2. xcode 9 isn't supported by older SDK's for obvious reasons. You can either install xcode8 (downloadable from the apple website) or you can upgrade to Titanium SDK 6.2 or higher (6.3 came out, I recommend that)
For information regarding versioning (of everything related to Ti, check the compatibility matrix in the documentation)
Had the same problem today after installed Xcode 9.2, on side of Xcode 9.4.1 and Titanium SDK 7.2.0.GA. Same error message as in the title of this post. As suggested by Patrick De Marta, I've tried
appc run -p ios -T simulator -C x
after that, I could select a simulator and run the app.
Thanks!
What do you get when you execute "appc ti sdk list" from command line ?
I'm not sure if this is your case, but I had a similar problem and solved it by specifying the target simulator with the CLI build option -C
(appc ti info for the list of simulator names )
hope this helps

Node.js Devices not found

I installed Appc studio on MBP with C2D, OSX 10.9.5, XCode 6.2, can't update to newest Sierra and XCode, because MBP is not longer supported.
I have problem, I don't see any iOS simulators/devices connected to MBP. I tried to uninstall, install, reinstall, downgrade and upgrade node.js and also TiSDK(6.0.2&5.1.1), but after
appc ti info -t ios
it throws error:
Cannot read property "devices" of undefined
When I open Xcode, I see my connected iPhone and iOS simulators.
Can please somebody help me?
Thank you
If from Xcode you can see al the devices and you can start them, the problem is probably that Appcelerator "lost" the path to Xcode.
Check with appc setup if it's everything right and have a look also at the platform iOS properties.

XCode Compatibility Issue with different versions

I recently made a project using XCode 4.5.1 on iOS 10.8.
I want to run this project on a different computer using XCode 4.4.1 on iOS 10.7.5.
It is currently giving me the error:
XCode cannot run using the selected device.
No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a recent enough version of iOS to run your application or choose an iOS simulator as the destination.
Is there a way to open the project on the other computer without having to redo all the delegations and such?
I have tried turning off AutoLayout and running it on the iOS 10.7.5 computer and it is still giving the same error.
Thanks!
Change the deployment target to the ios version you want to run the project on.

Resources