Hi everyone,
I'm working on a iOS 8 Today Widget going along with an AIR app and facing a "app to widget" communication issue.
The project consists of:
- an AIR app embedding an ANE that sets data to a NSUserDefaults object
- and an XCode project
- defining the Widget storyboard
- Executing an hacky custom Shell script to "merge" the widget into an existing .ipa (coming from Flash Builder)
pushd ../builds
unzip MyApp.ipa
cp -r Payload/MyApp.app/* "${CONFIGURATION_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/"
rm -r Payload
popd
When running the app from XCode on the device:
- the widget appears in the iOS Widgets panel
- the communication between the AIR app and the widget does work
But when exporting an .ipa (with Product > Archive > Export), then installing it manually (via iTunes):
- the widget appears in the iOS Widgets panel
- the communication between the AIR app and the widget doesn't work
I only get the following warning when doing "Archive", but couldn't figure out why nor if it's related.
warning: skipping copy phase strip, binary is code signed: /Users/[...]/UninstalledProducts/TodayExtension.appex/TodayExtension
Would anyone have already experienced that issue?
Any suggestion or idea are more than welcome.
Florian