opentok / opentok-ios-sdk-samples-swift

Sample applications using the OpenTok iOS SDK in Swift
https://tokbox.com/
MIT License
137 stars 65 forks source link

App cannot be run on Simulator due to lack of Apple silicon support #179

Closed jordanhbuiltbyhq closed 1 year ago

jordanhbuiltbyhq commented 1 year ago

On a Mac with Apple silicon, you cannot build and run an app that has OpenTok integrated on the Simulator because OpenTok does not support Apple silicon with the current version 2.23.1.

platform :ios, '13.0'

target 'Test' do
use_frameworks!

pod 'OpenTok'

end

It'll install on the Simulator but will not open and Xcode presents this error alert:

Application launch for 'com.mydomain.Test' did not return a valid pid nor a launch error.
Domain: NSPOSIXErrorDomain
Code: 3
Failure Reason: No such process
User Info: {
    DVTErrorCreationDateKey = "2022-10-10 16:47:09 +0000";
    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
}
jordanhbuiltbyhq commented 1 year ago

It seems this may be an issue on my end, rather than an issue with OpenTok, will close