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

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

Related

Library not found for -lDJIWidget

I am attempting to run the sample developer dji application for the iOS platform via Xcode version 13.2.1. Upon building the application for the ObjectiveC and Swift sample code, I get an error indicating "Library not found for -lDJIWidget".
mac os: 12.2.1
I am a new macOS user, and this is my first time learning to build an iOS application for DJI. How can I resolve this error?
Trouble shooting steps taken
ensure cocoapods is installed for both sample codes (objectiveC and swift code)
use the <Project>.xcworkspace file for setting the bundle identifier and app key
Connect your ios device to your computer and run the build off of it.

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

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.

Not able to create IOS build from Xcode using Flutter code?

I am using Windows for Flutter app development and it is working fine for android ,I want to know how can I create IOS build from XCode now.? Does it required to do full flutter setup with Xcode on Mac or I can build it with Xcode only ? Apology for my terrible english.
To build an iOS project you have to install XCode on your MAC with flutter and dart Installations, and if you don't have MAC you can run your code from any browser from flutlab.io
You need XCode + Flutter installation on a Mac to create iOS build.
XCode alone will not work. You will have to clone your project into the Mac & then open the project in Xcode to create the build.
Xcode only works on Mac. And yes you have to do a full flutter setup with Xcode on Mac which is not so difficult, you will find many flutter setup with Xcode video in youtube.

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.

Vuforia DataSet exists but fails to load on iOS devices

I made an AR app using the Vuforia SDK in Unity. Everything works fine when deployed to Android. when I deploy to iOS devices, like the iPhone 5s, the DataSet with my marker exists, but fails to load and activate.
dataSetExists
Dataset _______ could not be loaded and cannot be activated.
I've been searching the Vuforia forums (i.e. this: https://developer.vuforia.com/forum/ios/dataset-exists-fails-load-and-activate), but nothing helped. I have a proper path, I built the project on a Mac, I don't miss the PostProcessBuildPlayer script in my project.
I did have problems building the app in XCode tho. I used the advice found here (http://forum.unity3d.com/threads/linker-error-on-xcode6-1-1-undefined-symbols-for-architecture-armv7-unitykeyboard_gettext.309464/), in Redons last reply, to solve the problem - I manually re-added needed libraries to the XCode project and added Security.framework in "Build Phases -> Link Binary With Libraries". Is this relevant?
I'm working on Unity 5.2.1 and XCode 6.3
How do I fix this issue?
What worked for me was that I manually added the following compiler directive to the ARCamera's LoadDatabaseBehaviour script under the AddOSSpecificExternalDatasetSearchDirs function:
#if UNITY_IOS
AddExternalDatasetSearchDir(Application.dataPath + "/Raw/QCAR/");
#endif
This is an iOS specific fix that explicitly points to the Streaming Assets folder in the iOS build itself.
My versions & info:
Unity version: 5.3.0f4
Vuforia version: 5.0.6
OSX version: 10.11.2 (El Capitan)
Xcode version: 7.2 (7C68)
iOS device: iPad mini 3
iOS version: 9.1

Resources