Issue Details (XML | Word | Printable)

Key: FDT-2475
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: FDT Team
Reporter: Philipp Arnolds
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FDT

Air SDK 3.1 merge writes wrong file permissions on Flex SDK binaries

Created: 01/Dec/11 03:55 PM   Updated: 22/Jun/12 07:01 PM
Component/s: AIR, SDK Management
Affects Version/s: FDT 5.0
Fix Version/s: FDT 5.5
Security Level: public

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. SDKFilePermissions.png
(258 kB)
Environment: Mac OSX only


 Description  « Hide
When trying to package a mobile build it fails with the following error:
Packaging failed!
Packaging error message: 
Compilation failed while executing : as

workaround

After merging Flex SDK 3.1 into your current Flex SDK you will need to manipulate the file permissions to make the following binary files in your sdk executable:

/lib/aot/bin/as/arm-apple-darwin9-as
/lib/aot/bin/ld64/i686-apple-darwin9-ld64
/lib/aot/bin/ld64/i686-apple-darwin10-ld64
/lib/aot/bin/strip/i686-apple-darwin10-strip
/lib/aot/bin/strip/strip

you can change the permissions of those files using the following command in terminal

chmod u+x /Users/philipp/SDKs/Flex_4.6_Air_3.1/lib/aot/bin/as/arm-apple-darwin9-as


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Philipp Arnolds made changes - 01/Dec/11 03:58 PM
Field Original Value New Value
Description When trying to package a mobile build it fails with the following error:

{code}
Packaging failed!
Packaging error message:
Compilation failed while executing : as
{code}

h3. workaround

After merging Flex SDK 3.1 into your current Flex SDK you will need to manipulate the file permissions to make the following binary files executable:

{path to your SDK}/lib/aot/bin/as/arm-apple-darwin9-as
{path to your SDK}/lib/aot/bin/ld64/i686-apple-darwin9-ld64
{path to your SDK}/lib/aot/bin/ld64/i686-apple-darwin10-ld64
{path to your SDK}/lib/aot/bin/strip/i686-apple-darwin10-strip
{path to your SDK}/lib/aot/bin/strip/strip

you can change the permissions of those files using the following command in terminal
{code}
chmod u+x {path to your SDK}/lib/aot/bin/as/arm-apple-darwin9-as
{code}
When trying to package a mobile build it fails with the following error:

{code}
Packaging failed!
Packaging error message:
Compilation failed while executing : as
{code}

h3. workaround

After merging Flex SDK 3.1 into your current Flex SDK you will need to manipulate the file permissions to make the following binary files in your sdk executable:

/lib/aot/bin/as/arm-apple-darwin9-as
/lib/aot/bin/ld64/i686-apple-darwin9-ld64
/lib/aot/bin/ld64/i686-apple-darwin10-ld64
/lib/aot/bin/strip/i686-apple-darwin10-strip
/lib/aot/bin/strip/strip

you can change the permissions of those files using the following command in terminal
{code}
chmod u+x /Users/philipp/SDKs/Flex_4.6_Air_3.1/lib/aot/bin/as/arm-apple-darwin9-as
{code}
Philipp Arnolds made changes - 01/Dec/11 03:59 PM
Resolution none [ 6 ]
Status Open [ 1 ] Confirmed [ 10000 ]
Philipp Arnolds made changes - 01/Dec/11 04:53 PM
Attachment SDKFilePermissions.png [ 13397 ]
Philipp Arnolds made changes - 07/Dec/11 12:55 PM
Status Confirmed [ 10000 ] Resolved [ 5 ]
Philipp Arnolds made changes - 08/May/12 02:05 PM
Resolution none [ 6 ] Fixed [ 1 ]
Status Resolved [ 5 ] Closed [ 6 ]
Philipp Arnolds made changes - 08/May/12 02:09 PM
Fix Version/s 5.5 Beta [ 10432 ]
Fix Version/s FDT 5.5 [ 10491 ]
Status Closed [ 6 ] Resolved [ 5 ]
Philipp Arnolds made changes - 08/May/12 02:10 PM
Status Resolved [ 5 ] Closed [ 6 ]
FDT Team made changes - 22/Jun/12 06:32 PM
Assignee Philipp Arnolds [ phiarn ] FDT Team [ fdt team ]
Status Closed [ 6 ] Resolved [ 5 ]
FDT Team made changes - 22/Jun/12 07:01 PM
Status Resolved [ 5 ] Closed [ 6 ]