FlashDevelop iOS Export - Security error - iphone

when trying to load a local swf in my actionscript 3 project for iOS I get the following
error in the debugger:
[Fault] exception, information=SecurityError: Error #3207: Application-sandbox content cannot access this feature.
Im stuck, any advice?
Security.allowDomain("*");
gives me the same results.
Mirza

In the loader object, have you set a LoaderContext object on the load() function?

Related

Suddenly receiving firebase database error when logging in through app: " Evaluation error: NSURLErrorDomain: -1003"

I am currently working on an IOS app built through Swift on Xcode. Firebase packages are installed using Cocoapods, and all pods are updated. Additionally, I double-checked that the Plist and Google-Service Info files are correct.
This is the full error line I receive when logging into the app and trying to retrieve user information from the database:
nw_proxy_resolver_create_parsed_array [C3.1.1 proxy pac] Evaluation
error: NSURLErrorDomain: -1003
I am unable to figure out how to resolve this issue as there were no changes in my code and it was working beforehand perfectly.
I can provide code snippets if needed but since the app was working prior, I am assuming this isn't related to my code.
The only time I was able to solve this issue temporarily was to reset the package caches through XCode, allowing me to view posts and other content pulled from the firebase backend. Unfortunately, after I restarted the app, this solution did not work anymore, and the same error from above popped up. Since resetting the package caches worked initially, I am assuming there is no direct correlation between the error and my source code.
Does anyone have any idea as to ways I can solve this issue? It has prevented me from working on my app for several days now. Thanks for any help!
Update: After looking over my code one more time, I found that there was a missing dot in a line of code, leading to my IOS app not running. This did NOT solve the error of nw_proxy_resolver_create_parsed_array [C3.1.1 proxy pac] Evaluation error: NSURLErrorDomain: -1003, but since the app is working successfully, my problem is solved.

Google Calendar API - No such module 'GoogleAPIClientForREST'

I'm trying to integrate the Google Calendar API on iOS. I've followed the iOS Quickstart. I've managed to get the objective-c version to run but I need to get it to work in Swift. I'm getting an error loading the module 'GoogleAPIClientForREST'
I'm using cocoapods as shown in the example. All looks to be loaded fine on the pod side, as you can see in the screenshot.
Has someone succeeded to run the google example in swift ?
THANKS!
Linking the library with the binary resolved the module not found error.
I then ran into another error "Value of type 'GTLRCalendarService' has no member 'authorizer'" in the signin method (Two instances of the error). Found a solution to this error here
Solved this by creating a bridging header where I included these lines
#import <GTMSessionFetcher/GTMSessionFetcher.h>
#import <GTMSessionFetcher/GTMSessionFetcherService.h>
Here's my Xcode project incase it can help someone.
Thanks

Why is jquery.fileupload-validate raising $.blueimp.fileupload.prototype.options.processQueue.push error?

I am using jquery file upload on a page, and the following error is being raised in the browser console.
TypeError: undefined is not an object (evaluating '$.blueimp.fileupload.prototype.options.processQueue.push')
It appears to be coming from jquery.fileupload-validate.
I have been unable to find much information about this error. From previous experience jquery file upload seems to be very sensitive to the order in which modules are loaded, but again I've been unable to find much in the way of documentation about this.
Has anyone else encountered this error, or can shed some light on load order or other possible causes?
BTW, I am currently loading files in the following order (though have tried others without success)
jquery.fileupload
jquery.fileupload-ui
jquery.fileupload-validate
jquery.fileupload-process
jquery.fileupload-image
jquery.iframe-transport
Try this order:
js/jquery-3.3.1.js
js/jquery.ui.widget.js
js/jquery.iframe-transport.js
js/jquery.fileupload.js
js/jquery.fileupload-process.js
js/jquery.fileupload-image.js
js/jquery.fileupload-validate.js

SoundCloud / Soundmanager2 Actionscript error

The following (simple) code is triggering an error for some users, any idea what it could be and how to solve it (I'm letting the SDK load Soundmanager2)?
SC.initialize({ client_id: "clientID" });
SC.stream("/tracks/tracknumber", {autoPlay: true});
This is the error:
uncaught exception: Error in Actionscript.
Use a try/catch block to find error.
Then it tries to load the sound from SoundCloud, but I guess the error prevents it from playing. This is only happening to some users (for example WinXP and Firefox), not all.
Since there were recent changes to the SC SDK, I'm not sure if there's a problem on their side (looking up the error message, I found some posts about Flash security settings over crossdomains).
Any idea about this?
Thank you very much.
All indications point to a Flash JS access problem using the SC SDK, so I just started using Soundmanager directly, dropping the SC SDK. Problem solved!

Weird Error from Xcode Debugger

I am using SQL lite database in my iPhone app. I have a refresh button on my Home screen and upon click of then refresh button I parse data from my web service and store the results into a SQL lite database. When I click on refresh button repeatedly I get an error. The error occurs after a variable number of clicks/refreshes each time. The error is:
Failed to load debugging library at:
/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib
Custom data formatters are disabled.
Error message was: 0xe00805 "dlopen(/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib, 10): image not found"`
After this error, my app crashes and when I logged the error it gives me an error "Unable to open database"
Please help me to resolve this error.
Thanks
Sandy
It would appear that the debugger is having a problem loading the data formatters that create the displays for various datatypes in the debugger window's variable display panel. If you've added any customer formatters, you should remove them.
Try running the program without the debugger and see if you get a crash. If so, the problem is in the app. If not, it's most likely in Xcode itself. I would test a dummy project and see if you get the same error.
It's possible there is hellish recursion somewhere in your code. I have seen that bring the debugger down but not with this error message.