Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cocoapod error #11

Closed
caglarcakar opened this issue Jun 6, 2019 · 7 comments
Closed

cocoapod error #11

caglarcakar opened this issue Jun 6, 2019 · 7 comments
Assignees

Comments

@caglarcakar
Copy link

Describe the bug

I am getting "VoxeetSDK compiled with older version of Swift language" error if I add sdk with cocoapod. I tried to build with both swift 4 and swift 5 but the same.

Steps to Reproduce the Problem

  1. add pod 'VoxeetSDK'
  2. Pod update
  3. Build the project

Minimalistic code (recommended)

ld: /Users//ProjectName/Pods/VoxeetSDK/VoxeetSDK/VoxeetSDK.framework/VoxeetSDK compiled with older version of Swift language (unknown ABI version 0x06) than previous files (unknown ABI version 0x07) file '/Users//ProjectName/Pods/VoxeetSDK/VoxeetSDK/VoxeetSDK.framework/VoxeetSDK' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Specifications

  • Device: Macbook pro
  • OS: MacOS 10.14.5
  • Platform: Xcode 10.2.1
  • Subsystem: Cocoapod 1.6.1
  • Version:
    • VoxeetSDK (1.1.2)
@codlab
Copy link

codlab commented Jun 6, 2019

This SDK is outdated. Please update to the latest version of the SDK directly from this repository in the releases tab:

https://github.com/voxeet/voxeet-ios-sdk/releases

If you are also using the ConferenceKit, you can check them directly here:
https://github.com/voxeet/voxeet-ios-conferencekit/releases

@codlab codlab added help wanted and removed bug labels Jun 6, 2019
@caglarcakar
Copy link
Author

You probably build the file "VoxeetSDK.framework.zip" with debug options, it gives unsupported architecture x86_64 i386 error 😕

@codlab
Copy link

codlab commented Jun 7, 2019

I'm closing this issue. Please reopen a new one with more information about it. @VTCoco will be able to give more information about the use of devices instead of emulators

@codlab codlab closed this as completed Jun 7, 2019
@VTCoco
Copy link
Contributor

VTCoco commented Jun 7, 2019

Hello @caglarcakar, this compilation issue will be patched in the next release in few days.It's a known Xcode compilation issue from 10.2.1 (the SDK is already compiled with release option).
If you want more information, please open a new ticket that can help other peoples.

@VTCoco
Copy link
Contributor

VTCoco commented Jun 7, 2019

Only Objective-C projects compiled with simulator are affected (Cordova uses ObjC).

@caglarcakar
Copy link
Author

@VTCoco
Copy link
Contributor

VTCoco commented Jun 7, 2019

You were talking about pushing (archiving) an app with VoxeetSDK.
If you aren't using Carthage, yes you need to strip VoxeetSDK framework to remove simulators architectures.
For example you can implement a script that automatically strip VoxeetSDK like this post: https://stackoverflow.com/questions/42641806/check-and-remove-unsupported-architecture-x86-64-i386-in-ipa-archive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants