[TIMOB-28202] iOS: Package build fails with MediaModule compile error in SDK 9.2.1
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2020-10-19T21:32:49.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 9.2.2 |
| Components | iOS |
| Labels | regression |
| Reporter | Joe Falcone |
| Assignee | Vijay Singh |
| Created | 2020-10-16T12:37:30.000+0000 |
| Updated | 2020-10-27T21:12:48.000+0000 |
Description
Attachments
| File | Date | Size |
|---|---|---|
| build_iphone.log | 2020-10-16T12:31:33.000+0000 | 3579198 |
Not tested so far, but this should fix it: https://github.com/appcelerator/titanium_mobile/pull/12187 You can also patch your SDK locally in
~/Library/Application Support/Titanium/mobilesdk/osx/9.2.1.GA/iphone/Classes/MediaModule.m, have fun!Thank you for the workaround!
It's actually not a workaround but a stable fix for the issue. A workaround without patching the SDK can be to add a
Ti.Media.openPhotoGalleryin your project somewhere (just the function name, not invocation).Verified the fix in SDK 9.2.2.v20201026120850. Closing.