I tried building test_harness.rev for iOS 7 via the buildComponents command and a few modifications (added in 6.1 and 7.0 sdk, removed 6.0 sdk and removed references to Linked components because they don't exist in the runtime folders) and it didn't work... Any clues?... Well... it launches in the simulator then jumps to the debugger as soon as the stack is drawn and Xcode won't deploy it to my phone because of architecture issues...
Ideally we might get to a point where the externals sdk is just embedded in the livecode repo and building lcidl might build the test harness standalones but I guess that would need a command line standalone builder. Might we be able to skip the test harness if we rename our test stacks iphone_test.livecode though?
test_harness.rev
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, LCMark
test_harness.rev
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: test_harness.rev
Hmm... it appears to work in the simulator now... still getting the architecture issue on device though....
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: test_harness.rev
Ah.. the device builds of the test harness are turning out to be 0 bytes...
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/
Re: test_harness.rev
@monte:
That suggests something is throwing an error when building the executable - some of the scripts will still 'succeed' even if they fail thus not necessarily coming up as a build error in Xcode (if I recall correctly).Ah.. the device builds of the test harness are turning out to be 0 bytes...
Well the test harness approach was pre-opensource - when third-parties didn't have access to the engine-mobile xcodeproj. One option now would be to ditch the 'test_harness' and instead tie external xcodeproj's to the engine-mobile project. i.e. When you build your external in xcode to test it, it makes sure it has the appropriate engine built, links the external to it and then gets xcode to launch on the device thus obviating the need for pre-canned 'test' engines. It would be easy enough to tweak the mobile startup so that it used an environment variable to decide which stack within the app bundle to load as the mainstack.Ideally we might get to a point where the externals sdk is just embedded in the livecode repo and building lcidl might build the test harness standalones but I guess that would need a command line standalone builder. Might we be able to skip the test harness if we rename our test stacks iphone_test.livecode though?
Re: test_harness.rev
Sounds great... just getting the debugger working again in the simulator helped me resolve a couple of nagging issues.
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/