-
Notifications
You must be signed in to change notification settings - Fork 238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error Building Application #288
Comments
I'm having a similar error. OSX 10.7.5 with XCode 4.6. Very confusing. I'm a bit of a novice with building apps, unfortunately, so I'm running around in circles. OSACompile Pomodoro/scripts/getToDoListFromReminders.applescript 2013-02-07 17:20:54.256 osacompile[92316:f07] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find: |
It looks like you can't even compile Applescripts that reference Libraries that aren't installed (Reminders and Messages, introduced in 10.8). I'm not sure what the proper way around this is. When I try to compile on 10.7 I get this too. You can patch around it by just deleting the applescript. I'd like to open up a conversation about the "right" solution to this. I can see several possibilities.
Both fixes don't address the problem that these features won't be available anyway on the specific OS X versions. That'd be a separate, UI issue. Any opinions on how best to support building and running in older OSX while still providing access to new services in 10.8? |
Is it possible to include the scripts when building for specific platforms? |
It might be, using a custom build phase that modifies which files are going to be compiled. I think including all the applescripts as source without compiling them ahead of time is a better idea. I can't test it on 10.7 until I get back to my desktop in a few days but maybe you can try out this branch and let me know if it allows you to build? https://github.com/partlyhuman/pomodoro/tree/dont-precompile-applescripts |
Good news: Successfully Built! Bad news: Was not able to export. Got error "The operation couldn’t be completed. (OSStatus error 100021.)" Tried with targets 10.6 and 10.7. Not sure what the issue is. Is there a known work around to this? Couldn't seem to find any solved issues of this nature. |
@seggix, by export do you mean Archive? Are you still using OSX 10.7.5 with XCode 4.6? Is there any additional compiler output immediately before this error message, and if so can you post it here? I will be able to try building on a 10.7 machine tomorrow, I'll report back to this thread. |
Yep, same stats as before. I do mean export. I'm able to archive to the point where the organizer shows up, and I see the most current archive. I then follow the instructions.
Option 1 results in the error I've posted above, with no additional prompting. Option 2 brings me to a page where I can enter my username and password to log in to my mac dev center account, but entering my information and clicking "Next" simply says scrolls through: "Connecting... Downloading... Building..", respectively, very briefly in succession, then just refresh's the previous 'Identity' page. So close! I'm working with the free dev account, does that make any difference? |
I'm facing the same issue. |
FYI, the solution in #286 fixed it for me |
partlyhuman, your works for me flawlessly after I spent 3 hours trying to get this one to work. |
I'm trying to build the application on OSX 10.7.5 with XCode 4.5.2 and I keep getting an error. I've tried the instructions in #283 but it isn't working.
The error is:
The text was updated successfully, but these errors were encountered: