Apocalyptic0n3
Participant
Apocalyptic0n3
Participant
Activity
‎Apr 05, 2018
02:47 PM
Is there any update from Adobe regarding this? It's completely impossible to compile iOS currently.
... View more
‎Apr 03, 2018
04:13 PM
I am experiencing the same issue. I am able to package for release, but I cannot package for debug on either device or in simulator. Full error: ld: unexpected token: !tapi-tbd-v3 file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libc++.tbd' for architecture arm64 ld: unexpected token: !tapi-tbd-v3 file '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/lib/libc++.tbd' for architecture armv7 Compilation failed while executing : ld64
... View more
‎Mar 21, 2018
07:51 AM
I actually switched from using Flash Builder to IntelliJ because it crashes when building iOS apps or trying to configure build settings for iOS on High Sierra. You can't possibly recommend using software you no longer support (I haven't seen an update in probably 5 or 6 years now) that crashes on modern operating systems as a solution to a problem where it seems your SDK doesn't work with modern operating systems. That said, because that is the only solution to my issues that I have seen so far, I did some searching and found a patch that does manage to allow me to build via Flash Builder again (see this post). Unfortunately after making the patch, I saw no improvement. Indeed, neither app even prompts me for permission to open the camera roll any more and the camera roll functionality is completely broken.
... View more
‎Mar 20, 2018
08:31 AM
This is the test app I cobbled together to test this bug in isolation to rule out it being other code in my app. I tested it this morning with a fresh install of Flex 4.13 and AIR 29 (using the Flex Installer application) and the same problems are still present. Dropbox - camroll.zip I have additionally created a screen recording of what I see when I run the app (it's in debug mode, but the same issues occur after a full compile). Dropbox - camera-roll-adobe-air29-problem.MP4 Here is what I tried posting yesterday to the bug tracker but ran into errors posting. If you need any further information, please let me know. Problem Description: An AIR 29/Flex 4.13 app running on iOS 11 is unable to access the Camera Roll. It will work once, at most, immediately after requesting permission. Any further attempts result in the camera roll being briefly seen before the entire page being emptied (even the menubar is empty). When this occurs, the only way to proceed is to force close the app and restart it. This does not occur on Android and there do not appear to be any issues with the Camera. I have additionally tested it on AIR 27 and 28. Steps to Reproduce: 1. Request permission to access Camera Roll 2. Give permission to access Camera Roll 3. Open Camera Roll 4. User may be able to access the Camera Roll at this point. This is intermittent, however, and I have been unable to figure out when it is possible 5. Attempt to access the Camera Roll again Actual Result: Camera roll appears for a few frames and then all content is removed, including menubar content, resulting in a blank screen that cannot progress any further without a full app restart. Expected Result: Camera roll opens and user either selects a photo or cancels Any Workarounds: It generally works the first time after requesting permission, but fails on any further attempts Hardware Info: Tested on iPhone 6S, iPad Mini 2, iPad 3rd Gen, iPad Air 2, and on various devices in the iOS Simulator Operating System: Compiled on macOS 10.13.3 (High Sierra) using IntelliJ IDEA 2017.3, Adobe AIR 27-29, and Flex 13. Occurs on iOS 11. Have not tested previous iOS releases
... View more
‎Mar 19, 2018
10:16 AM
I attempted to but every time I try submitting that form, it results in a "Bug Submission Failed" error with nothing more descriptive and a 400 Response with this very descriptive content '{"key":null,"status":"BAD_REQUEST"}'. So it looks like that form is broken.
... View more
‎Mar 19, 2018
07:33 AM
While trying to figure this out, I have created a simple test application that is just a button and the code posted in the original post and it results in the broken camera roll as well. I have additionally tested both applications on multiple other devices and have seen the same results.
... View more
‎Mar 15, 2018
06:49 AM
The former. I request permission, grant it, open the camera roll, and the camera roll is 100% empty like you see above. No title, no buttons, no images.
... View more
‎Mar 13, 2018
04:00 PM
I have an old app that I was asked to update. The app contains the ability to attach a photo to a form, either via the Camera or Camera Roll. I updated to AIR 28 as part of making sure Apple would even accept it and added in the new permission checks (the last build was in AIR 22). The camera functionality works perfectly and the Camera Roll works on Android, but on iOS the Camera Roll is just blank: Here is a snippet of code I am using to authorize usage (file usage is requested earlier on): private function launchCamera(e:NativeDialogEvent):void { if ( e.index == "0" ) { if (CameraRoll.supportsBrowseForImage) { if (CameraRoll.permissionStatus != PermissionStatus.GRANTED) { var roll:CameraRoll = new CameraRoll(); roll.addEventListener(PermissionEvent.PERMISSION_STATUS, function (e:PermissionEvent):void { if (e.status == PermissionStatus.GRANTED) { launchCameraRoll(); } else { Alerter.showAlert("To use this functionality, you must provide permission to access the Camera Roll"); } }); try { roll.requestPermission(); } catch (e:Error) { // another request is in progress } } else { launchCameraRoll(); } } } else if ( e.index == "1" ) { if (CameraUI.isSupported) { if (CameraUI.permissionStatus != PermissionStatus.GRANTED) { var cam:CameraUI = new CameraUI(); cam.addEventListener(PermissionEvent.PERMISSION_STATUS, function (e:PermissionEvent):void { if (e.status == PermissionStatus.GRANTED) { launchCameraUI(); } else { Alerter.showAlert("To use this functionality, you must provide permission to access the Camera"); } }); try { cam.requestPermission(); } catch (e:Error) { // another request is in progress } } else { launchCameraUI(); } } } } /** * Launches the camera roll. Meant to be called after permissions are requested */ private function launchCameraRoll():void { var roll:CameraRoll = new CameraRoll(); roll.addEventListener(MediaEvent.SELECT, this.camCompleteHandler); roll.browseForImage(); } private function launchCameraUI():void { var cam:CameraUI = new CameraUI(); cam.addEventListener(MediaEvent.COMPLETE, this.camCompleteHandler); cam.launch(MediaType.IMAGE); } And here is the iPhone node in my app.xml: <iPhone> <InfoAdditions><![CDATA[ <key>UIDeviceFamily</key> <array> <string>1</string> </array> <key>NSAppTransportSecurity</key> <dict> <key>NSAllowsArbitraryLoads</key> <true/> </dict> <key>NSPhotoLibraryAddUsageDescription</key> <string>Used for selecting Photos from your device to include in Service submissions.</string> <key>NSPhotoLibraryUsageDescription</key> <string>Used for selecting Photos from your device to include in Service submissions.</string> <key>NSCameraUsageDescription</key> <string>Used for taking new photos to include in Service submissions.</string> ]]></InfoAdditions> <requestedDisplayResolution>high</requestedDisplayResolution> </iPhone> I double checked older builds and they work just fine. I've tested on the latest releases for AIR 27 and 28, plus the AIR 29 beta and they all have the same issue. I am able to replicate it both in debug mode and in an ad hoc distribution package. I see nothing in the Xcode Logs and nothing shows up in the console when debugging either. Anyone how to resolve this? It's the final thing holding this update up from release.
... View more
‎Oct 30, 2014
09:05 AM
Yes, I tried the two most recent beta releases yesterday as well as the stable release
... View more
‎Oct 29, 2014
02:35 PM
I've tried various things (rebuilding workspace/project from scratch, different AIR sdks, different compiler options, different certs, dev vs. ad hoc provisioning profile, etc) and nothing has seemed to work. It will intermittently work (maybe 1 in 30 tries) but the next time I try to build, it fails again.
... View more
‎Oct 29, 2014
01:59 PM
I'm having the exact same issue here, though I am on Yosemite (10.10). EDIT: For the record, I'm using the AirAlert ANE from freshplanet/ANE-Alert · GitHub and NativeDialogs ANE from mateuszmackowiak/NativeDialogs · GitHub
... View more
‎Sep 19, 2014
02:22 PM
Yes. If you include the 568h image, but not the others, it simply scaled your app up as if it were an iPhone 5 app. It's a little fuzzy, especially around text, but still entirely usable. Old apps should be fine so long as they targeted the iPhone 5 (so anything with an update since last October, I believe, when Apple started mandating the iPhone 5 launch image)
... View more
‎Sep 19, 2014
02:06 PM
Looks like: Include Default-568h@2x.png but not Default-375w-667h@2x.png or Default-414w-736h@3x.png , it upscales (and noticeably so) Include Default-375w-667h@2x.png and Default-414w-736h@3x.png but not Default-568h@2x.png, it doesn't letter box and doesn't upscale Do not include any launch images, I get letterboxing I only tested using the iPhone 6 simulator since I didn't feel like restarting Flash Builder a bunch of times to test, but I assume the same will apply to the Plus since it is the same aspect ratio as the iPhone 5 and iPhone 6
... View more
‎Sep 19, 2014
01:56 PM
Yes, I get letterboxing on iPhone 5, 6, and 6 Plus
... View more
‎Sep 19, 2014
01:33 PM
I'm getting full size for everything. Works fine in all 4 device simulators. No letterboxing, images show up, etc. I'm not using any XML config, either. Just those images in my src/root directory
... View more
‎Sep 19, 2014
11:58 AM
I have the new launch image sizes and default names to use. iPhone 4/4S: Default@2x.png - 640x960 iPhone 5: Default-568h@2x.png - 640x1136 iPhone 6: Default-375w-667h@2x.png - 750x1334 iPhone 6 Plus: Default-414w-736h@3x.png - 1242x2208 I've tested those in the simulator and they seem to work
... View more
‎Sep 19, 2014
11:40 AM
Thanks. That worked. I must have run it with a typo earlier when I tried it. I'm able to choose what device to launch with now, though it does stink that you can't change these through Flash Builder
... View more
‎Sep 19, 2014
11:05 AM
Yes, sorry. There are only the default iOS 8 apps, none of my own. Two pages, yes, but still none of my apps show up on any of the pages. They are simply not there.
... View more
‎Sep 19, 2014
10:11 AM
There are no icons whatsoever when I switch devices. It just goes back to the default iOS apps. My installed apps disappear. That part isn't an AIR issue since it happens with my native apps as well.
... View more
‎Sep 19, 2014
10:05 AM
Latest AIR 15 beta SDK got rid of this error and allowed me to test in the simulator. To test on iOS 8, I had to move all of my old SDKs out of /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs. If I had any older SDKs in there, Flash Builder would re-launch the simulator using them. Additionally, I can't test using any device other than the iPhone 5, whose simulator doesn't fit on my screen. Flash Builder will always launch to that device regardless of what settings I choose in the Debug Config window. Switching devices in the simulator itself doesn't work since the app installs seem to be device specific and Flash Builder ignores what is currently open and launches to the iPhone 5, rebooting the simulator. Any ideas on how to fix that?
... View more
‎Mar 11, 2014
10:47 AM
I didn't test it, but I am 99% sure you can't screenshot a PDF in StageWebView. Basically, the "drawViewportToBitmap" method draws the web view's viewport to a BitmapData object. The problem is that a PDF is not rendered in the viewport of the web view. When you load a PDF into a StageWebView object, it actually tries to load a plugin (Acrobat on desktop, the built-in plugin on iOS, and nothing on Android since it isn't supported) and that plugin is what renders the PDF. The plugin isn't in the webview's viewport either, I believe, but being displayed above it (much in the way StageWebView is displayed above your app). I also do not believe you would be able to screenshot a video in iOS's StageWebView for the same reasons.
... View more
‎Feb 24, 2014
01:30 PM
In the AIR Release Notes, the Adobe team currently documents each release with a date. Could this be changed to use a version number instead? A date is not very useful when looking through archives trying to figure out why a bug is occurring in a live app that used a previous release. Additionally, it makes helping people out difficult because there is no clear documentation for when a bug is fixed according to version number. http://helpx.adobe.com/en/flash-player/release-note/fp_12_air_4_release_notes.html
... View more
‎Jan 15, 2014
08:23 AM
If you're willing to leave behind any 4-5s users still running iOS 6, this is actually fairly easy. iOS 7 will not run on non-retina iPhones, and the first retina iPhone was the iPhone 4, your minimum target. So you could just restrict it to iOS 7 and you would never have it install on anything older than the iPhone 4. To do this, just add this to your app.xml's iPhone InfoAdditions. <key>MinimumOSVersion</key> <string>7.0</string>
... View more
‎Dec 13, 2013
01:31 PM
1 Upvote
I'm trying to generate documentation, and inject it into a SWC, for a library I have written. Problem is that every time I try to run asdoc, it tells me a class found within core files isn't found. First it began as just mobile classes not being found, so I manually added the mobilecomponents.swc manually. Then it was File not being found, so I added the AIR swcs manually. Now, it is core Flash files like Stage and URLRequest that aren't being found. Output Example: [asdoc] Loading configuration file /Applications/Adobe Flash Builder 4.7/sdks/4.11 AIR 3.9/frameworks/flex-config.xml [asdoc] /Users/jjanusch/dev/workspaces/AIR/library/src/com/vuria/utils/DeviceInfo.as(73): col: 15 Error: Access of possibly undefined property orientation through a reference with static type flash.display:Stage. [asdoc] [asdoc] if ( stage.orientation == StageOrientation.DEFAULT || stage.orientation == StageOrientation.UPSIDE_DOWN ) { [asdoc] ^ [asdoc] [asdoc] /Users/jjanusch/dev/workspaces/AIR/library/src/com/vuria/ui/views/PanelViewBase.as(41): col: 37 Error: The definition of base class View was not found. [asdoc] [asdoc] public class PanelViewBase extends View [asdoc] ^ [asdoc] [asdoc] /Users/jjanusch/dev/workspaces/AIR/library/src/com/vuria/services/download/ProgressDownloader.as(155): col: 17 Error: Access of possibly undefined property idleTimeout through a reference with static type flash.net:URLRequest. [asdoc] [asdoc] this.request.idleTimeout = IDLE_TIMEOUT; [asdoc] ^ [asdoc] BUILD FAILED /Users/jjanusch/dev/workspaces/AIR/library/build/build.xml:9: asdoc task failed Here is the ANT task I am using (it is a little convoluted from how many different things I am trying right now): <?xml version="1.0" encoding="utf-8"?> <project name="ASDoc Builder" basedir="."> <property name="FLEX_HOME" value="/Applications/Adobe Flash Builder 4.7/sdks/4.11 AIR 3.9"/> <property name="FLEX_LIB" value="${FLEX_HOME}/frameworks"/> <property name="PROJECT_DIR" value="/Users/jjanusch/dev/workspaces/AIR/library"/> <property name="OUTPUT_DIR" value="${PROJECT_DIR}/documentation"/> <taskdef resource="flexTasks.tasks" classpath="${FLEX_HOME}/ant/lib/flexTasks.jar" /> <target name="doc"> <asdoc output="${OUTPUT_DIR}" lenient="true" failonerror="true"> <arg line="-load-config+=${FLEX_HOME}/frameworks/air-config.xml" /> <arg line="-load-config+=${FLEX_HOME}/frameworks/flex-config.xml" /> <arg line="-load-config+=${FLEX_HOME}/frameworks/airmobile-config.xml" /> <external-library-path dir="${PROJECT_DIR}/libs/"> <include name="*.swc" /> </external-library-path> <external-library-path dir="${FLEX_LIB}/libs/"> <include name="*.swc" /> </external-library-path> <external-library-path dir="${FLEX_LIB}/libs/air/"> <include name="*.swc" /> </external-library-path> <external-library-path dir="${FLEX_LIB}/libs/mobile/"> <include name="*.swc" /> </external-library-path> <external-library-path dir="${FLEX_LIB}/libs/mx/"> <include name="*.swc" /> </external-library-path> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/spark/src"/> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/mobilecomponents/src"/> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/advancedgrids/src"/> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/air/Core/src"/> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/apache/src"/> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/airframework/src"/> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/airspark/src"/> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/core/src"/> <compiler.source-path path-element="${FLEX_HOME}/frameworks/projects/mx/src"/> <doc-sources path-element="${PROJECT_DIR}/src"/> </asdoc> </target> <target name="clean"> <delete includeEmptyDirs="true"> <fileset dir="${OUTPUT_DIR}" includes="**/*"/> </delete> </target> </project> I have also tried bash scripting: #!/bin/bash asdoc="/Applications/Adobe Flash Builder 4.7/sdks/4.11 AIR 3.9/bin/asdoc" docSource="/Users/jjanusch/dev/workspaces/AIR/library/src" docOut="/Users/jjanusch/dev/workspaces/AIR/library/documentation" spark="/Applications/Adobe Flash Builder 4.7/sdks/4.11 AIR 3.9/frameworks/projects/spark/src" mobile="/Applications/Adobe Flash Builder 4.7/sdks/4.11 AIR 3.9/frameworks/projects/framework/src" mx="/Applications/Adobe Flash Builder 4.7/sdks/4.11 AIR 3.9/frameworks/projects/mx/src" framework="/Applications/Adobe Flash Builder 4.7/sdks/4.11 AIR 3.9/frameworks/projects/framework/src" libraryPath="/Applications/Adobe Flash Builder 4.7/sdks/4.11 AIR 3.9/frameworks/libs" packageDescriptions="/Users/jjanusch/dev/workspaces/AIR/library/asdocs-package-descriptions.xml" docsTitle="VURIA AS3 Library Documentation" windowTitle="VURIA AS3 Library Documentation" libs="/Users/jjanusch/dev/workspaces/AIR/library/libs" "$asdoc" \ -doc-sources "$docSource" \ -output "$docOut" \ -lenient \ -compiler.library-path "$libraryPath" \ -package-description-file "$packageDescriptions" \ -library-path+="$libs" \ -main-title "$docsTitle" \ -window-title "$windowTitle" \ -keep-xml=true \ -skip-xsl=true \ Every thing I attempt has the exact same error, only with different classes not being found. I'm at a point now where I have no idea what else to attempt. Any help would be greatly appreciated. Using the AIR 3.9 SDK (latest release from this week) along with Flex 4.11. I've also tried every AIR and Flex release since 3.6 and 4.6.0. Additionally, ASDocr fails with the exact same errors. For what it is worth, the task at the bottom of this page to generate docs for Spark works just fine. http://help.adobe.com/en_US/flex/using/WSda78ed3a750d6b8f4ce729f5121efe6ca1b-8000.html
... View more
‎Dec 05, 2013
08:43 AM
Still not sure about that. There are still issues with going fullscreen and using ANEs that cause issues. I haven't tested this yet to see if it fixes those, but I'm not sure Flex was the source of those issues.
... View more
‎Dec 05, 2013
08:30 AM
The Apache team has added support for this in the latest nightlies of 4.12. You can now set osStatusBarHeight on Application. https://issues.apache.org/jira/browse/FLEX-33860 @media (application-dpi: 160) AND (os-platform:"IOS") AND (min-os-version: 7) { Application { osStatusBarHeight: 20; } }
... View more
‎Nov 27, 2013
11:55 AM
Very true. You get what you pay for, right? Anyway, Distriqt is one of the top AIR developers out there. Their ANEs are, for the most part, the very best available. They're expensive, sure, but they fill in most of the areas that AIR falls flat on. Worth the money in my opinion.
... View more
‎Nov 27, 2013
09:19 AM
The latest 4.0 beta release (available Nov 26, 2013. Don't have the full version number handy) does not fix this issue
... View more
‎Nov 22, 2013
03:18 PM
Use <key>UIViewControllerBasedStatusBarAppearance</key> <false/> <key>UIStatusBarStyle</key> <string>UIStatusBarStyleLightContent</string>
... View more
‎Nov 13, 2013
08:47 AM
As a quick update, the latest AIR SDK release (AIR 3.9.0.1210) does not fix this bug.
... View more