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

Xcode 14 watchOS building for real devices(arm64) issues #58

Closed
jakov-clay opened this issue Oct 6, 2022 · 13 comments
Closed

Xcode 14 watchOS building for real devices(arm64) issues #58

jakov-clay opened this issue Oct 6, 2022 · 13 comments
Assignees

Comments

@jakov-clay
Copy link

jakov-clay commented Oct 6, 2022

I'm having issues when building for watchOS in Xcode 14 for real devices (simulator is fine). I get bunch of issues when linking VirgilCryptoFoundation for arm64 arch. In Xcode 13 works fine, probably related to bunch of changes Xcode 14 introduced for watchOS, now there is only 1 target instead of 2 when creating watchOS app, and new architecture.
Screenshot 2022-10-06 at 12 29 21

My Podfile:

use_frameworks!

target 'Demo' do
  platform :ios, '13.0'
  pod 'VirgilSDK', '8.1.0'
  
end

target 'DemoWatchOS WatchKit Extension' do
  platform :watchos, '7.0'
  pod 'VirgilSDK', '8.1.0'
  
end

Tested also with SPM, same result.

Maybe rebuilding libraries with Xcode 14 tools would help solve this issue?

@jakov-clay
Copy link
Author

@SergeySeroshtan hey do you maybe have time to check this issue?

@SergeySeroshtan
Copy link
Member

Will take a look

@jakov-clay
Copy link
Author

@SergeySeroshtan were you able to reproduce issue? any ETA for this? My watch app is blocked by this so any info or help is helpful. Thanks!

@SergeySeroshtan
Copy link
Member

Currently have issue with building low level libraries with updated environment. Going to resolve this ASAP. ETA until Oct 24.

@SergeySeroshtan
Copy link
Member

Hi @jakov-clay what package manager do you use?

@SergeySeroshtan
Copy link
Member

Met the same issue as - https://developer.apple.com/forums/thread/700583

@jakov-clay
Copy link
Author

Hi @jakov-clay what package manager do you use?

Cocoa Pods

@jakov-clay
Copy link
Author

Met the same issue as - https://developer.apple.com/forums/thread/700583

My issue occurs only in Xcode 14, everything seems to work normally in Xcode 13

@jakov-clay
Copy link
Author

If I build for Any watchOS device I get a bit different error.

Screenshot 2022-10-23 at 20 30 18

I'm unsure why this happens. I can test on real watch device, if I can help let me know.

@SergeySeroshtan
Copy link
Member

Going to accomplish this issue until tomorrow.

@jakov-clay
Copy link
Author

@SergeySeroshtan how it's going? Any progress, problems, updates?

@SergeySeroshtan
Copy link
Member

Hi @jakov-clay, I've got problems with Carthage package manager, that won't be able to fix quickly.
To unblock your's progress, I've released a new version for Cocoapods - 8.2.0 with arm64 arch for watchOS, please check it.

@jakov-clay
Copy link
Author

@SergeySeroshtan I'm confirming that SDK works with latest Xcode on real devices! Thank you very much! I have some problems with my framework but Virgil is running normally.

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

2 participants