amirrajan / rubymotion-applied

RubyMotion documentation provided by the community. Submit a pull request to the docs for a free one year indie subscription.
Apache License 2.0
50 stars 9 forks source link

watchos: ERROR ITMS-90733: Missing architecture #118

Open katsuyoshi opened 5 years ago

katsuyoshi commented 5 years ago

A message "ERROR ITMS-90733: Missing architecture" has appeared when I upload the app to the iTunes connect. The app includes watchos target.

Uploading is succeeded if I remove the watchos target. There is something wrong with watchos target I think.

Environment:

First, I put configuration of Rakefile for watchos is below. It has succeeded so far.

  app.deployment_target = '3.0'
  app.info_plist['MinimumOSVersion'] = '3.0'

Next, I specify 5.0 instead of 3.0. The message has appeared again.

  app.deployment_target = '5.0'
  app.info_plist['MinimumOSVersion'] = '5.0'

Finally, I remove deployment_target MinimumOSVersion. But nothing changes.

Do I have to add some architecture configuration? Is it solved with proper configuration?

image

amirrajan commented 5 years ago

Try these:

  app.archs['iPhoneOS'] = ['arm64']
  app.info_plist['UIRequiredDeviceCapabilities'] = ['arm64']
cmckni3 commented 5 years ago

Looks like a new architecture was introduced called arm64_32. My watchOS 5.1 project contains arm64_32 armv7k.

katsuyoshi commented 5 years ago

Thank you @amirrajan

I tried it to Rakefile for iPhoneOS and/or WatchOS. (UIRequiredDeviceCapabilities is not supported for WatchOS)

But the result is the same things.

And I tried it to WatchOS. But same.

  app.archs['iPhoneOS'] = ['arm64_32', 'armv7k']
  app.archs['watchos'] = ['arm64_32', 'armv7k']
katsuyoshi commented 5 years ago

I investigate using lipo command.

lipo -info binary_path
Build iPhone App WatchKit App WatchKit Extension
Xcode arm64 arm64_32 armv7k arm64_32 armv7k
RubyMotion arm64 arm64_32 armv7k armv7k

Missing arm64_32 for WatchKit Extention.

amirrajan commented 5 years ago

I'll address this in the next release. Sorry for the delay (holidays are crazy).

amirrajan commented 5 years ago

@katsuyoshi would you mind emailing me so I can get you a beta release (for testing purposes)?

amirrajan commented 5 years ago

Waiting for this to get accepted into LLVM upstream and then RM will be able to target this new chip: https://lists.llvm.org/pipermail/llvm-dev/2019-January/129788.html

amirrajan commented 5 years ago

@katsuyoshi The chipset has been added to LLVM 9+ (finally). We are upgrading the code this week. I'll keep you posted of any issues as they arise.

katsuyoshi commented 5 years ago

@amirrajan thank you. I'm looking forward to using it.

amirrajan commented 5 years ago

Updates: http://llvm.1065342.n5.nabble.com/llvm-dev-RFC-arm64-32-upstreaming-ILP32-support-for-AArch64-tt125783.html

The patch was rejected initially. We’re trying to manually apply it in the interim. Will provide updates as they come.