Giter Club home page Giter Club logo

cdmf-agent-ios's Introduction

WSO2 EMM iOS Agent

This is the iOS agent code repository of WSO2 EMM

cdmf-agent-ios's People

Contributors

charithag avatar chaturadilan avatar geethkokila avatar harshanl avatar hasuniea avatar inoshperera avatar madawas avatar madhawap avatar maheshika avatar milanperera avatar niranjan-k avatar rasika avatar sameeragunarathne avatar shanraj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cdmf-agent-ios's Issues

The agent crashes when unenrolling

Description:
When unenrolling the agent crashes

Affected Product Version:
IoT 3.1.0

OS, DB, other environment details and versions:
iOS

Steps to reproduce:
Enroll the agent in iOS and click on unenroll

WSO2 iOT iOS Agent Login error

When I try logging-in from ios agent, got the following error

HTTP Status 500 - org.mozilla.javascript.JavaScriptException: Error: {/app/modules/oauth/token-handlers.js} Could not set up access token pair by password grant type. Encoded client credentials are missing - setupTokenPairByPasswordGrantType(x, y) (/ios-web-agent/app/modules/oauth/token-handlers.js#44)
Status report
org.mozilla.javascript.JavaScriptException: Error: {/app/modules/oauth/token-handlers.js} Could not set up access token pair by password grant type. Encoded client credentials are missing - setupTokenPairByPasswordGrantType(x, y) (/ios-web-agent/app/modules/oauth/token-handlers.js#44)
description
The server encountered an internal error that prevented it from fulfilling this request.
Apache Tomcat/7.0.85

Test device details
Device : iPhone 6
OS version: 11.0

Screenshots
img_0720

img_0721

The agent does not have a way to hardcode server Url

Description:
For production scenario, it is needed to have the server Url hardcoded

Affected Product Version:
IoT 3.1.0

OS, DB, other environment details and versions:
iOS

Steps to reproduce:
Try to enroll the iOS agent and the url must be typed

emm ios agent fails to build

I am running mac mini
Darwin macmini 14.0.0 Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64

During build I get this error:

Ld /Users/derek/Library/Developer/Xcode/DerivedData/agent-exxcecgbrgtvmxcsdnusaglkcicj/Build/Intermediates/agent.build/Debug-iphonesimulator/agentTests.build/Objects-normal/x86_64/agentTests normal x86_64
cd /Users/derek/Sites/emm/emm-agent-ios
export IPHONEOS_DEPLOYMENT_TARGET=6.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk -L/Users/derek/Library/Developer/Xcode/DerivedData/agent-exxcecgbrgtvmxcsdnusaglkcicj/Build/Products/Debug-iphonesimulator -L/Users/derek/Sites/emm/emm-agent-ios/Library -F/Users/derek/Library/Developer/Xcode/DerivedData/agent-exxcecgbrgtvmxcsdnusaglkcicj/Build/Products/Debug-iphonesimulator -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.1.sdk/Developer/Library/Frameworks -F/Applications/Xcode.app/Contents/Developer/Library/Frameworks -filelist /Users/derek/Library/Developer/Xcode/DerivedData/agent-exxcecgbrgtvmxcsdnusaglkcicj/Build/Intermediates/agent.build/Debug-iphonesimulator/agentTests.build/Objects-normal/x86_64/agentTests.LinkFileList -bundle_loader /Users/derek/Library/Developer/Xcode/DerivedData/agent-exxcecgbrgtvmxcsdnusaglkcicj/Build/Products/Debug-iphonesimulator/WSO2\ Agent.app/WSO2\ Agent -Xlinker -objc_abi_version -Xlinker 2 -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework CoreLocation -framework CFNetwork -lOHHTTPStubs -framework SenTestingKit -framework UIKit -framework Foundation -Xlinker -dependency_info -Xlinker /Users/derek/Library/Developer/Xcode/DerivedData/agent-exxcecgbrgtvmxcsdnusaglkcicj/Build/Intermediates/agent.build/Debug-iphonesimulator/agentTests.build/Objects-normal/x86_64/agentTests_dependency_info.dat -o /Users/derek/Library/Developer/Xcode/DerivedData/agent-exxcecgbrgtvmxcsdnusaglkcicj/Build/Intermediates/agent.build/Debug-iphonesimulator/agentTests.build/Objects-normal/x86_64/agentTests

ld: warning: ignoring file /Users/derek/Sites/emm/emm-agent-ios/Library/libOHHTTPStubs.a, file was built for archive which is not the architecture being linked (x86_64): /Users/derek/Sites/emm/emm-agent-ios/Library/libOHHTTPStubs.a
Undefined symbols for architecture x86_64:
"OBJC_CLASS$_OHHTTPStubs", referenced from:
objc-class-ref in ApiResponseTest.o
"OBJC_CLASS$_OHHTTPStubsResponse", referenced from:
objc-class-ref in ApiResponseTest.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.