You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to integrate linphone-sdk in my macOS Swift app. It seems that there is a working Swift Version for iOS. A macOS version is also indicated in several places in the Developer Guide.:
The application integration has been made easy thanks to Cocoapods (iOS/macOS) and Maven (Android).
However, I was not able to successfully install and use it for macOS. Hence the question: Does the linphone-sdk support macOS Swift? Is there a guide or tutorial similar to the iOS ones?
platform:osx,'12.1'source"https://gitlab.linphone.org/BC/public/podspec-macos.git"source"https://github.com/CocoaPods/Specs.git"defbasic_podsifENV['PODFILE_PATH'].nil?pod'linphone-sdk','~> 5.0.71'elsepod'linphone-sdk',:path=>ENV['PODFILE_PATH']# local sdkendendtarget'YOUR_APP_NAME'douse_frameworks!basic_podsend
Install: pod install. Output should be something like:
Analyzing dependencies
Downloading dependencies
Installing linphone-sdk 5.0.71
Generating Pods project
Integrating client project
Pod installation complete! There is 1 dependency from the Podfile and 1 total pod installed.
Open the workspace file your_app.xcworkspace
Open a Swift File and try to import linphone-sdk via import linphonesw
XCode should now fail to compile the app with the following Error: Compile Error: No such module linphonesw
Additional context
The Tutorial for iOS worked fine but when changing the target to macOS and changing the source to "https://gitlab.linphone.org/BC/public/podspec-macos.git" my macOS project fails to compile.
SDK logs URL
No response
The text was updated successfully, but these errors were encountered:
Context
I wanted to integrate linphone-sdk in my macOS Swift app. It seems that there is a working Swift Version for iOS. A macOS version is also indicated in several places in the Developer Guide.:
However, I was not able to successfully install and use it for macOS. Hence the question: Does the linphone-sdk support macOS Swift? Is there a guide or tutorial similar to the iOS ones?
General information
Expected behaviour
I wanted to integrate the linephone-sdk in my desktop macOS Swift Project.
To Reproduce
XCode -> Create new Project -> macOS -> App
(Interface:SwiftUI
, Language:Swift
)pod init
pod install
. Output should be something like:your_app.xcworkspace
import linphonesw
XCode should now fail to compile the app with the following Error:
Compile Error: No such module linphonesw
Additional context
The Tutorial for iOS worked fine but when changing the target to macOS and changing the source to
"https://gitlab.linphone.org/BC/public/podspec-macos.git"
my macOS project fails to compile.SDK logs URL
No response
The text was updated successfully, but these errors were encountered: