ios external not working (.lcext not able to load LC)

Are you developing an External using the LiveCode Externals SDK?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
RajaRamesh
Posts: 23
Joined: Fri Jan 31, 2014 12:09 pm

ios external not working (.lcext not able to load LC)

Post by RajaRamesh » Sat Feb 22, 2014 7:58 am

hi friends, i m new for for this livecode
Note : please help me, if i want to create ios external what type of environment we need(like Mac os, xcode , ios, livecode) and what is the process

i used livecode 6.1.0
and xcode 4.6 ,
and mac osx 10.8.4
ios 6

my question is,
I am working on externals in live code, i am able to build the sample rreHardcopy and run in iPad simulator. When i am trying to run it on iPad it is showing error "Startup error: failed to load external". Any help will be appreciated.



Xcode.ios:
framework Foundation
framework UIKit
framework CoreGraphics


Xcode.mm
bool rreHardcopyIsAvailable(void)
{
// Simple check the class method of UIPrintInterfactionController.
return [UIPrintInteractionController isPrintingAvailable] == YES;
}

then i buile this and copy .lcext file.
then attached to the livecode.

in Livecode:
on mouseUp
answer "rreHardcopyIsAvailable returns" && rreHardcopyIsAvailable()
end mouseUp


livecode settings:
selected ipad/iphone/ipod
ios 5.1 later
BuildIdentifier
profileName

Note : but its not connect to the .lcext file, pls help me
what's happening (if i want to create new ios external plugin, what type of environment we need)

thank you
Last edited by RajaRamesh on Sat Feb 22, 2014 12:59 pm, edited 2 times in total.

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: ios external plugin not opened (live code not access .lc

Post by Thierry » Sat Feb 22, 2014 8:29 am

Hi Raja,

I guess you have read at least those 2 lessons from runrev?

http://livecode.com/developers/guides/mobile/ios/

http://livecode.com/developers/guides/externals/

and a short video with a nice scottish accent for building an iOs-external:

http://www.youtube.com/watch?v=lqduyQkhigg


PS: posting on iOs or external forum would have been better,
but wait... Klaus will come :)

Regards and good luck

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

RajaRamesh
Posts: 23
Joined: Fri Jan 31, 2014 12:09 pm

Re: ios external not working (.lcext not able to load LC)

Post by RajaRamesh » Sat Feb 22, 2014 1:06 pm

Hi Thierry,

i developed plugin by using same you tube link,
the thing is ios external file not loading.
i did same process, but its not working rreDevice sample also

thanks in advance

Klaus
Posts: 13806
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: ios external not working (.lcext not able to load LC)

Post by Klaus » Sat Feb 22, 2014 1:20 pm

Hi Raja,

will move this thread to the correct forum.
Yes, we have a dedicated "Building Externals/Plugins" forum 8)


Best

Klaus

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: ios external not working (.lcext not able to load LC)

Post by Thierry » Sat Feb 22, 2014 6:18 pm

RajaRamesh wrote:Hi Thierry,
i developed plugin by using same you tube link,
the thing is ios external file not loading.
i did same process, but its not working rreDevice sample also
Raja,

I sympathize with you on this topic as I've spent most of this week
installing Mavericks, Xcode 5, LC SDK R-14, join Apple iOS dev,reading all docs,
and buying my first iOs device to try to make rreCanvas (sample runrev iOs external) work on
my new iPad (iOs 7); works only on the simulator ??? :(

That said, as I started with Xcode 5/ iOs7,
I can't really help with older development tools.. and too much room for small but fatal mistakes.

You may ask directly to runrev support: support@runrev.com (they are great and nice)

Good luck,

Thierry
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: ios external not working (.lcext not able to load LC)

Post by Thierry » Sun Feb 23, 2014 6:19 pm

Hi,

Went a bit further in my discovery of iOS LC SDK...

And YES !!!
the LC sample external rreSocket works with this configuration:

Mavericks - LC 6.5.2 - Xcode 5.02 - iPad mini Retina with iOs 7.0.6


But still no chances to run rreCanvas :(

Anyone managed to compile and run it or
someone with some hints ?

2 reports can be found here:
http://quality.runrev.com/show_bug.cgi?id=11846
http://quality.runrev.com/show_bug.cgi?id=11430

Regards,

Thierry
Last edited by Thierry on Wed Sep 17, 2014 2:05 pm, edited 1 time in total.
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

andyh1234
Posts: 442
Joined: Mon Aug 13, 2007 4:44 pm
Location: Eccles UK
Contact:

Re: ios external not working (.lcext not able to load LC)

Post by andyh1234 » Mon Feb 24, 2014 11:05 pm

The changes needed to make rresocket work are way beyond me, would you mind sharing the working external?

Thierry
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 875
Joined: Wed Nov 22, 2006 3:42 pm

Re: ios external not working (.lcext not able to load LC)

Post by Thierry » Tue Feb 25, 2014 5:32 am

andyh1234 wrote:The changes needed to make rresocket work are way beyond me, would you mind sharing the working external?
I'll send it in a couple of hours.

But without any warranty of any kind!
!
SUNNY-TDZ.COM doesn't belong to me since 2021.
To contact me, use the Private messages. Merci.
!

Post Reply

Return to “Building Externals”