Re: MDM and App deployment

2017-04-06 Thread Terry Judd via use-livecode
Hi John – it’s really just about making sure that all your urls are correct and 
match up in the html and manifest files. If that’s all ok (and you’re serving 
the files via https) then it’s more likely to be a provisioning problem.

Terry...

On 7/04/2017 1:28 am, "use-livecode on behalf of JOHN PATTEN via use-livecode" 
 wrote:

Thanks Terry and Jacqueline,

The file/app is being served via our MDM which is using https.

Terry, you mention that the manifest file has to be perfect, do you happen 
to know what that would look like? I have never tweaked the manifest file that 
gets created automatically. 

I have been following Richard Miller’s challenges with getting his app into 
the regular app store so I know the info.plist file can be problematic, 
depending on what you are trying to do.  However, I’m not quite sure what a 
“perfect” plist file should look like. Someone else had mentioned being sure 
that I,…  "Call all the links on the plist and html with https,” but I’m not 
sure what that means.  It was pulled from this this stackoverflow conversation, 
http://stackoverflow.com/questions/34820355/enterprise-app-installing-but-immediatelly-dissapears
 
,
 but I have  a hunch it is not the same problem as mine.

Let me know if I’ missing something in the plist file….


Thank you!




> On Apr 5, 2017, at 7:35 PM, Terry Judd via use-livecode 
 wrote:
> 
> I missed the start of this thread so I might be off target but the app 
needs to be server from a secure (https) server. If it isn’t and/or if your 
manifest file isn’t perfect then you will get that sort of message as well.
> 
> Terry...
> 
> On 6/04/2017 12:18 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:
> 
>On 4/5/17 5:17 PM, JOHN PATTEN via use-livecode wrote:
>> A student iPad can see the app in their Self Service app, but when
>> they go to install it reports it can’t download at this time.
> 
>I don't know if things are different with an Enterprise account, but 
in 
>my experience an app that partially downloads and then errors 
indicates 
>something wrong with the distribution profile.
> 
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
> 
> 
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: MDM and App deployment

2017-04-06 Thread JOHN PATTEN via use-livecode
Hi All,

Since I don’t know what a proper manifest file (info.plist) should look like, 
other than what LiveCode creates via the standalone process, and I could not 
get my hands on one someone  is using for their apps in the JAMF MDM, I decided 
just to build an app in Xcode/Swift and extract its info.plist for comparison.

This also allowed me to check to make sure my cert and Enterprise Distribution  
profile were correct. Apple has some FoodApp tutorials, I took one of their 
competed samples and compiled it into an app in Xcode with our Enterprise 
Developer profile. I was able to load it up into our JAMF MDM, assign it to a 
iPad in the MDM, and then download it from the Self Service app onto the 
targeted iPad. Apparently the profile is good.

When I look at the two info.list files, they were fairly similar, but it 
appears that LiveCode add a lot of keys that Xcode does when it compiles. I 
briefly tried to make the LiveCode info.plist appear more like the Xcode 
info.plist, and then try my app over with the new info.plist I modified. It 
still was not working for me. I was in a bit of a rush, so I will do it again 
with a little more care. 

I have included both the info.plist from my app, and the info.plist from the 
Xcode “food app.”  Not sure if anything will jump out at anyone, but please let 
me know if so.

I am guessing that the LiveCode info.plist is what is fouling up the MDM 
delivery of my app.

Here they are:

MyOpenMath app info.plist


http://www.apple.com/DTDs/PropertyList-1.0.dtd";>


CFBundleDevelopmentRegion
English
CFBundleDisplayName
MyOpenMath
CFBundleName
MyOpenMath
CFBundleExecutable
MyOpenMath
CFBundleIdentifier
com.sylvanapps.myopenmath
CFBundleInfoDictionaryVersion
6.0
CFBundlePackageType
APPL
CFBundleSignature



CFBundleSupportedPlatforms

iPhoneOS

CFBundleVersion
1.0.2
CFBundleShortVersionString
1.0.2
CFBundleIconFiles


Icon-72.pngIcon-144.pngIcon-76.pngIcon-152.png

UILaunchImages


UILaunchImageMinimumOSVersion
8.0
UILaunchImageName
Default-Portrait
UILaunchImageOrientation
Portrait
UILaunchImageSize
{768, 1024}


UILaunchImageMinimumOSVersion
8.0
UILaunchImageName
Default-Landscape
UILaunchImageOrientation
Landscape
UILaunchImageSize
{768, 1024}



DTCompiler
com.apple.compilers.llvm.clang.1_0
DTPlatformBuild
12B411
DTPlatformName
iphoneos
DTPlatformVersion
8.1
DTSDKBuild
12B411
DTSDKName
iphoneos8.1
DTXcode
0610
DTXcodeBuild
6A1052c
CFBundleDisplayName
MyOpenMath
MinimumOSVersion
10.1
UIDeviceFamily

2


UIRequiredDeviceCapabilities



UIRequiresPersistentWiFi

UIApplicationExitsOnSuspend

UIInitialInterfaceOrientation
UIInterfaceOrientationPortrait
UISupportedInterfaceOrientations

UIInterfaceOrientationPortrait

UIInitialInterfaceOrientation~ipad
UIInterfaceOrientationPortrait
UISupportedInterfaceOrientations~ipad


UIInterfaceOrientationPortraitUIInterfaceOrientationLandscapeLeft

UIBackgroundModes



UIViewControllerBasedStatusBarAppearance

NSLocationAlwaysUsageDescriptionThis application 
requires access to Location Services always
UIStatusBarHidden

UIStatusBarHidden~ipad

UIStatusBarStyle
UIStatusBarStyleDefault
com_livecode_StatusBarSolid

com_livecode_UsesLocalNotifications

UIFileSharingEnabled

UIPrerenderedIcon

UIAppFonts



NSBluetoothPeripheralUsageDescription
This application requires access to Bluetooth
NSCalendarsUsageDescription
This application requires access to the device's 
calendar
NSCameraUsageDescription
This application requires access to the device

Re: MDM and App deployment

2017-04-06 Thread JOHN PATTEN via use-livecode
Thanks Terry and Jacqueline,

The file/app is being served via our MDM which is using https.

Terry, you mention that the manifest file has to be perfect, do you happen to 
know what that would look like? I have never tweaked the manifest file that 
gets created automatically. 

I have been following Richard Miller’s challenges with getting his app into the 
regular app store so I know the info.plist file can be problematic, depending 
on what you are trying to do.  However, I’m not quite sure what a “perfect” 
plist file should look like. Someone else had mentioned being sure that I,…  
"Call all the links on the plist and html with https,” but I’m not sure what 
that means.  It was pulled from this this stackoverflow conversation, 
http://stackoverflow.com/questions/34820355/enterprise-app-installing-but-immediatelly-dissapears
 
,
 but I have  a hunch it is not the same problem as mine.

Let me know if I’ missing something in the plist file….


Thank you!




> On Apr 5, 2017, at 7:35 PM, Terry Judd via use-livecode 
>  wrote:
> 
> I missed the start of this thread so I might be off target but the app needs 
> to be server from a secure (https) server. If it isn’t and/or if your 
> manifest file isn’t perfect then you will get that sort of message as well.
> 
> Terry...
> 
> On 6/04/2017 12:18 pm, "use-livecode on behalf of J. Landman Gay via 
> use-livecode"  use-livecode@lists.runrev.com> wrote:
> 
>On 4/5/17 5:17 PM, JOHN PATTEN via use-livecode wrote:
>> A student iPad can see the app in their Self Service app, but when
>> they go to install it reports it can’t download at this time.
> 
>I don't know if things are different with an Enterprise account, but in 
>my experience an app that partially downloads and then errors indicates 
>something wrong with the distribution profile.
> 
>-- 
>Jacqueline Landman Gay | jac...@hyperactivesw.com
>HyperActive Software   | http://www.hyperactivesw.com
> 
> 
>___
>use-livecode mailing list
>use-livecode@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: MDM and App deployment

2017-04-05 Thread Terry Judd via use-livecode
I missed the start of this thread so I might be off target but the app needs to 
be server from a secure (https) server. If it isn’t and/or if your manifest 
file isn’t perfect then you will get that sort of message as well.

Terry...

On 6/04/2017 12:18 pm, "use-livecode on behalf of J. Landman Gay via 
use-livecode"  wrote:

On 4/5/17 5:17 PM, JOHN PATTEN via use-livecode wrote:
> A student iPad can see the app in their Self Service app, but when
> they go to install it reports it can’t download at this time.

I don't know if things are different with an Enterprise account, but in 
my experience an app that partially downloads and then errors indicates 
something wrong with the distribution profile.

-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: MDM and App deployment

2017-04-05 Thread J. Landman Gay via use-livecode

On 4/5/17 5:17 PM, JOHN PATTEN via use-livecode wrote:

A student iPad can see the app in their Self Service app, but when
they go to install it reports it can’t download at this time.


I don't know if things are different with an Enterprise account, but in 
my experience an app that partially downloads and then errors indicates 
something wrong with the distribution profile.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

MDM and App deployment

2017-04-05 Thread JOHN PATTEN via use-livecode
Hi All,

History - We use JAMF (Casper) as our MDM. Our math teachers have been using an 
app called Casper Focus which locks students into a particular web site for 
when they are giving  the students an assessment. JAMF no longer supports 
Casper Focus now that Apple has created the Classroom app. However, the 
Classroom app does not have the ability to lock students to a specific webs 
site, only to specific apps.  

In comes LiveCode. I create a little secure web browser app that only goes to 
their, one,  math web site, and now teachers can use Apple Classroom and my app 
to secure students to  the app i created when giving their assessments. 

Problem: I can upload the App just fine into JAMF and into the JAMF Self 
Service app. We use our Enterprise Apple Developer profile to create an iOS app 
in LiveCode. I then, because of past practice, create a folder and title it 
“Payload, “ drop the iOS app into the folder, compress the folder, and rename 
it my app.ipa.  

A student iPad can see the app in their Self Service app, but when they go to 
install it reports it can’t download at this time.

Here is a little video demo:  https://youtu.be/--JJPUx3Zlg 


The app is not pretty, but it is functional. It is essentially a browser object 
with a little behind the scenes data gathering via mysql on its usage. The data 
is just for me to see how it’s being used.

Anybody distributed iOS apps via an MDM? Is there anything that has to be done 
beyond the Standalone Settings configuration window, i.e info.plist etc. etc?

If I can get this MDM distribution thing figured out, I hope to do more :)

Thank you!







___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode