Hi Guys,
While I am still developing an update for one of the App that I did few months back, I was surprised to see that when I try to build the same app with some changes I got this error.
Now the detailed error was
1 2 |
!ENTRY com.adobe.flexbuilder.project 4 43 2012-06-29 09:28:43.967 !MESSAGE Error occurred while packaging the application: |
1 |
NotAfter: Thu Jun 21 15:25:11 EST 2012 |
I had no clue whatsoever why this was happening.
I did following but nothing worked
- Restarted my Flash builder
- Recreated my projects
- Restarted my machine
Nothing worked!!
Then I thought to give that error a closer look. It was talking about some date.
Flash builder does a poor job when displaying error. They are not so informative, isn’t it.
Well it turned out that my development certificate has expired. Darn!
Now I have to create a new CSR and then get a new Development certificate from Apple iOS provisioning portal (You will need your newly created CSR in iOS provisioning portal).
Once I was done with creating new certificate and installed in my Run configuration
Ta!Da! Everything worked like it was suppose to.
By the way another tip I would like to through here is that in case you lost the error messages in exile you can always view them from the logs that Flash Builder produces.
They can be found here
Flex 4.6
1 |
<Your_Workspace_location>\.metadata\.log |
Or
Probably older versions
1 |
<Your_Workspace_location>\.metadata\.plugins\org.eclipse.ui.workbench\log |
I hope this saves you some time in working out the error.
If you have some other experience in fixing the error, please share it with readers using the comments sections
Cheers
Advertisement
Hi Guys,
I found that the same “error occurred while packaging the application” without any other comments occurs because I wasn’t adding the icons files that I defined into the app configuration xml in the section:
The icon the system uses for the application
I hope you’ll find this useful.
Cheers,
Mariano
Thanks for sharing this. I’m running into the same problem.
You state that you had to “get a new Development certificate from Adobe provisioning portal”. Are you revering to Apple’s iOS provisioning portal?
Hiya Mike,
Thanks for pointing it out. Yes that would be iOS provisioning portal. Typo has now been corrected.
Thanks heaps
Cheers mate.