Commit Graph

227 Commits

Author SHA1 Message Date
Matt Garriott
a3f8ccfb90 Fix build expression for Xcode 3.x 2013-06-12 10:57:49 -06:00
Watson
29f802ade6 2.1 2013-06-10 21:41:14 +09:00
Laurent Sansonetti
468946e528 add support for manifest plist file (ios only) 2013-06-10 21:38:57 +09:00
Laurent Sansonetti
47b2f24ddc allow hash keys to be symbols 2013-06-10 21:38:53 +09:00
Laurent Sansonetti
00c8eb8965 remove app.sim_args and use args env variable instead 2013-06-09 23:57:29 +09:00
Laurent Sansonetti
2d81dec34f app.vendor_project(:xcode) now rebuilds the project in case a file changed 2013-06-09 21:07:59 +09:00
Laurent Sansonetti
4827f71bae OSX: add LSMinimumSystemVersion plist key 2013-06-09 21:07:48 +09:00
Watson
3764e3d438 [OSX] fix a bug where it is not possible to submit app to Mac App Store
We have to do the code sign twice to submit app

1. code sign to app with
  "3rd Party Mac Developer Application: XXX"

2. code sign to pkg with
  "3rd Party Mac Developer Installer: XXX"
2013-06-09 21:07:40 +09:00
Watson
b35c1ab341 added embedded frameworks support (OSX-only) 2013-06-09 21:06:48 +09:00
Watson
abd0150df4 display the workaround for tmux users
if use tmux, we need some operation to launch iOS simulator.
2013-06-08 01:25:22 +09:00
Watson
495828a495 fix a bug in detecting file dependencies where it will not detect dependencies if contains nested constants
http://hipbyte.myjetbrains.com/youtrack/issue/RM-160
2013-06-05 14:58:00 +09:00
Watson
c2c2db3862 fix app.sim_args
Because when passed the arguments as following

    app.sim_args += ["-com.apple.CoreData.SQLDebug 1"]

application will receive the argument like

    argv[1] = ["-com.apple.CoreData.SQLDebug
    argv[2] = 1"]

Expected:

    argv[1] = -com.apple.CoreData.SQLDebug
    argv[2] = 1
2013-06-05 05:12:17 +09:00
Laurent Sansonetti
246883aee3 osx: support for entitlements 2013-06-04 17:38:52 +09:00
Laurent Sansonetti
1efb6ff264 add 'build' task that builds for both modes 2013-06-04 17:38:45 +09:00
Laurent Sansonetti
fa5461a8a6 add 'rake static' task (OSX) 2013-06-04 17:38:31 +09:00
Laurent Sansonetti
143c508ffd move ctags to basic project rakefile so that it works with osx 2013-06-04 17:38:23 +09:00
Laurent Sansonetti
f011285dd6 app.sim_args 2013-06-04 17:38:06 +09:00
Watson
ed0b8bbc64 add a feature which passing the arguments on launching app 2013-06-04 17:37:24 +09:00
Watson
371b5a7a52 add .gitignore into gem template 2013-06-04 17:36:48 +09:00
Watson
3fc4096c68 Merge pull request #94 from chendo/fix-vendored-xcode-project-build-path
Use absolute path for CONFIGURATION_BUILD_DIR
2013-05-29 16:25:25 -07:00
Jack Chen (chendo)
4f5fd08280 Use absolute path for CONFIGURATION_BUILD_DIR because when using relative xcodeproj path 2013-05-24 00:39:08 +10:00
Watson
51033fa22f Merge pull request #90 from jeremyruppel/files-dependencies-fixes
Files dependencies fixes
2013-05-14 15:21:40 -07:00
Jeremy Ruppel
9c2064eef2 Support leading ".." notation in dependency pathnames 2013-05-14 12:42:58 -07:00
Jeremy Ruppel
f546c67362 Print mutated path if a dependency cannot be found 2013-05-14 12:41:24 -07:00
Watson
2e1855c04d Merge pull request #86 from tmilewski/master
Update user warning to reference correct file path
2013-05-11 06:03:31 -07:00
Watson
4be4a15d99 Merge pull request #88 from dblandin/master
Update motion require statement in gem template Rakefile
2013-05-11 05:56:54 -07:00
Devon Blandin
a91ca31910 Update motion require statement in gem template Rakefile 2013-05-10 23:12:46 -05:00
Laurent Sansonetti
4c0c700251 add OS X mention 2013-05-10 15:10:47 +02:00
Tom Milewski
f9473c04c7 Correct the path to template.
Users are being notified to require a file ('lib/motion/project/template/ios') that doesn't exist when called from a project's Rakefile.
2013-05-09 18:43:38 -03:00
Watson
2d7998d204 2.0 2013-05-10 00:49:17 +09:00
Watson
39fc96771d osx: use NSApplication instead of UIApplication 2013-05-10 00:44:43 +09:00
Laurent Sansonetti
b0ed9163e2 print message from license server upon /latest_software_version 2013-05-10 00:44:39 +09:00
Laurent Sansonetti
cfc7bfdb3c osx: add 'rake archive' tasks, refactor the builder archive/codesign code 2013-05-10 00:44:33 +09:00
Watson
35b495a81a fix an error when generate bridgesupport file
Fix the following error:

$ rake --trace
require 'lib/motion/project' is deprecated, please require 'lib/motion/project/template/ios' instead
** Invoke default (first_time)
** Invoke simulator (first_time)
** Invoke build:simulator (first_time)
** Execute build:simulator
RUBYOPT='' /usr/bin/gen_bridge_metadata --format complete --no-64-bit --cflags "  -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -miphoneos-version-min=6.1 -D__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__=60100 -I. -I'.'" "TestFlight.h" -o "TestFlight.bridgesupport" -e
Received exception: missing argument: -e:
2013-05-10 00:44:22 +09:00
Laurent Sansonetti
ffe4545eec osx: only build for the native arch in development mode 2013-05-10 00:44:07 +09:00
Laurent Sansonetti
e0d3cc0e4e osx 'rake spec' task 2013-05-10 00:43:57 +09:00
Watson
16fe9818d7 abort if build directory is not writable. 2013-05-10 00:43:52 +09:00
Watson
d3f7381361 check whether build directory is writable. if it is not writable, use ./build in project directory as in the past 2013-05-10 00:43:47 +09:00
Laurent Sansonetti
e59a120661 use NSApplicationMain() instead of -[NSApplication run] in order to honor main nib file loading (if it exists) 2013-05-10 00:43:41 +09:00
Laurent Sansonetti
5802a1ba83 move icons, prerendered_icon and fonts to ios config, add icon to osx config 2013-05-10 00:43:35 +09:00
Laurent Sansonetti
83eb68f66b app.vendor_project how honors :bridgesupport_{cflags,exceptions} options 2013-05-10 00:43:26 +09:00
Laurent Sansonetti
8ed8551699 'motion ri' now honors PAGER env variable 2013-05-10 00:43:20 +09:00
Laurent Sansonetti
ed71b653c2 motion create usage will now print available templates 2013-05-10 00:43:15 +09:00
Watson
9b9daa2c85 remove spaces 2013-05-10 00:43:09 +09:00
Watson
8e6d48c697 osx: import Cocoa/Cocoa.h in vendor.pch for mac 2013-05-10 00:42:10 +09:00
Laurent Sansonetti
01ed2d517a add command-line plugins 2013-05-10 00:41:25 +09:00
Watson
69fffd0844 convert string to integer 2013-05-10 00:41:02 +09:00
Watson
fea6853739 osx: check the osx version to detect default SDK 2013-05-10 00:40:57 +09:00
Watson
6c3ab0e10d fix a regression of 5a39c5f381 2013-05-10 00:40:47 +09:00
Laurent Sansonetti
1f92830511 allow 3rd-party templates to be located in ~/Library/RubyMotion/template 2013-05-10 00:40:40 +09:00