Skip to Content
0

Hybrid Application Toolkit iOS Simulator BUILD SUCCEEDED but does not launch

Apr 01, 2017 at 03:50 AM

159

avatar image

I am trying to launch a Hybrid app on iOS. I have the Hybrid application version 1.24.1 toolkit running on https://localhost:9010/ . The build completes but the application does not show in my iOS simulator and I am not sure why.

Here is the terminal console launches the Hybrid App:

===================================================================

Hybrid App Toolkit (v1.24.1) Connector is listening on port 9010.


Macintosh-365:SAP_HAT_local-1.24.1 jaymalla$ sh run.sh

Checking dependency "cordova"...

Dependency "cordova" passed

Checking dependency "kapsel"...

Dependency "kapsel" passed

Input your HAT Connector certificate password: ********

===================================================================

Hybrid App Toolkit (v1.24.1) Connector is listening on port 9010.

Here is the Hybrid app toolkit running:

Here is the console log:

9:26:09 AM (hybrid-toolkit)
9:26:09 AM (hybrid-toolkit) =================================================
9:26:09 AM (hybrid-toolkit) Skip generating as the project already exists in local HAT
9:26:09 AM (hybrid-toolkit) An error was encountered processing the command (domain=NSMachErrorDomain, code=-308):
9:26:09 AM (hybrid-toolkit) The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)
9:26:09 AM (hybrid-toolkit) An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163):
9:26:09 AM (hybrid-toolkit) Unable to lookup in current state: Shutting Down
9:26:13 AM (hybrid-toolkit)
9:26:13 AM (hybrid-toolkit) - Start to build and run app on Simulator...
9:26:13 AM (hybrid-toolkit)
9:26:32 AM (hybrid-toolkit) Reading build config file:
9:26:32 AM (hybrid-toolkit) Building project: /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/KapselMasterDetail.xcworkspace
9:26:32 AM (hybrid-toolkit) Configuration: Release
9:26:32 AM (hybrid-toolkit) Platform: emulator
9:26:36 AM (hybrid-toolkit) Build settings from command line:
9:26:36 AM (hybrid-toolkit) CONFIGURATION_BUILD_DIR = /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/emulator
9:26:36 AM (hybrid-toolkit) SDKROOT = iphonesimulator10.2
9:26:36 AM (hybrid-toolkit) SHARED_PRECOMPS_DIR = /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/sharedpch
9:26:36 AM (hybrid-toolkit)
9:26:36 AM (hybrid-toolkit) Build settings from configuration file '/Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/cordova/build-release.xcconfig':
9:26:36 AM (hybrid-toolkit) CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES
9:26:36 AM (hybrid-toolkit) CODE_SIGN_ENTITLEMENTS = $(PROJECT_DIR)/$(PROJECT_NAME)/Entitlements-$(CONFIGURATION).plist
9:26:36 AM (hybrid-toolkit) CODE_SIGN_IDENTITY = iPhone Developer
9:26:36 AM (hybrid-toolkit) DEVELOPMENT_TEAM = jay_malla@mac.com
9:26:36 AM (hybrid-toolkit) ENABLE_BITCODE = NO
9:26:36 AM (hybrid-toolkit) HEADER_SEARCH_PATHS = "$(TARGET_BUILD_DIR)/usr/local/lib/include" "$(OBJROOT)/UninstalledProducts/include" "$(OBJROOT)/UninstalledProducts/$(PLATFORM_NAME)/include" "$(BUILT_PRODUCTS_DIR)"
9:26:36 AM (hybrid-toolkit) IPHONEOS_DEPLOYMENT_TARGET = 8.0
9:26:36 AM (hybrid-toolkit) ONLY_ACTIVE_ARCH = yes
9:26:36 AM (hybrid-toolkit) OTHER_LDFLAGS = -ObjC
9:26:36 AM (hybrid-toolkit) SWIFT_OBJC_BRIDGING_HEADER = $(PROJECT_DIR)/$(PROJECT_NAME)/Bridging-Header.h
9:26:36 AM (hybrid-toolkit) TARGETED_DEVICE_FAMILY = 1,2
9:26:36 AM (hybrid-toolkit)
9:26:45 AM (hybrid-toolkit) processing...
9:26:57 AM (hybrid-toolkit) === BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Release ===
9:26:57 AM (hybrid-toolkit)
9:26:57 AM (hybrid-toolkit) Check dependencies
9:26:58 AM (hybrid-toolkit)
9:26:58 AM (hybrid-toolkit) === BUILD TARGET KapselMasterDetail OF PROJECT KapselMasterDetail WITH CONFIGURATION Release ===
9:26:58 AM (hybrid-toolkit)
9:26:58 AM (hybrid-toolkit) Check dependencies
9:26:58 AM (hybrid-toolkit)
9:26:58 AM (hybrid-toolkit) PhaseScriptExecution Copy\ www\ directory /Users/jaymalla/Library/Developer/Xcode/DerivedData/KapselMasterDetail-eegrnjrbpsvybdgoffsjbdhhbquh/Build/Intermediates/KapselMasterDetail.build/Release-iphonesimulator/KapselMasterDetail.build/Script-304B58A110DAC018002A0835.sh
9:26:58 AM (hybrid-toolkit) cd /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios
9:26:58 AM (hybrid-toolkit) /bin/sh -c /Users/jaymalla/Library/Developer/Xcode/DerivedData/KapselMasterDetail-eegrnjrbpsvybdgoffsjbdhhbquh/Build/Intermediates/KapselMasterDetail.build/Release-iphonesimulator/KapselMasterDetail.build/Script-304B58A110DAC018002A0835.sh
9:27:16 AM (hybrid-toolkit) processing...
9:27:20 AM (hybrid-toolkit)
9:27:20 AM (hybrid-toolkit) ProcessInfoPlistFile build/emulator/KapselMasterDetail.app/Info.plist KapselMasterDetail/KapselMasterDetail-Info.plist
9:27:20 AM (hybrid-toolkit) cd /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios
9:27:20 AM (hybrid-toolkit) export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/jaymalla/SAP/apache-ant-1.10.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
9:27:20 AM (hybrid-toolkit) builtin-infoPlistUtility /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/KapselMasterDetail/KapselMasterDetail-Info.plist -genpkginfo /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/emulator/KapselMasterDetail.app/PkgInfo -expandbuildsettings -format binary -platform iphonesimulator -additionalcontentfile /Users/jaymalla/Library/Developer/Xcode/DerivedData/KapselMasterDetail-eegrnjrbpsvybdgoffsjbdhhbquh/Build/Intermediates/KapselMasterDetail.build/Release-iphonesimulator/KapselMasterDetail.build/MainViewController-PartialInfo.plist -additionalcontentfile /Users/jaymalla/Library/Developer/Xcode/DerivedData/KapselMasterDetail-eegrnjrbpsvybdgoffsjbdhhbquh/Build/Intermediates/KapselMasterDetail.build/Release-iphonesimulator/KapselMasterDetail.build/CDVLaunchScreen-SBPartialInfo.plist -additionalcontentfile /Users/jaymalla/Library/Developer/Xcode/DerivedData/KapselMasterDetail-eegrnjrbpsvybdgoffsjbdhhbquh/Build/Intermediates/KapselMasterDetail.build/Release-iphonesimulator/KapselMasterDetail.build/assetcatalog_generated_info.plist -o /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/emulator/KapselMasterDetail.app/Info.plist
9:27:20 AM (hybrid-toolkit)
9:27:20 AM (hybrid-toolkit) GenerateDSYMFile build/emulator/KapselMasterDetail.app.dSYM build/emulator/KapselMasterDetail.app/KapselMasterDetail
9:27:20 AM (hybrid-toolkit) cd /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios
9:27:20 AM (hybrid-toolkit) export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/jaymalla/SAP/apache-ant-1.10.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
9:27:20 AM (hybrid-toolkit) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/emulator/KapselMasterDetail.app/KapselMasterDetail -o /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/emulator/KapselMasterDetail.app.dSYM
9:27:20 AM (hybrid-toolkit)
9:27:20 AM (hybrid-toolkit) Touch build/emulator/KapselMasterDetail.app
9:27:20 AM (hybrid-toolkit) cd /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios
9:27:20 AM (hybrid-toolkit) export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/jaymalla/SAP/apache-ant-1.10.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
9:27:20 AM (hybrid-toolkit) /usr/bin/touch -c /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/emulator/KapselMasterDetail.app
9:27:21 AM (hybrid-toolkit)
9:27:21 AM (hybrid-toolkit) CodeSign build/emulator/KapselMasterDetail.app
9:27:21 AM (hybrid-toolkit) cd /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios
9:27:21 AM (hybrid-toolkit) export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
9:27:21 AM (hybrid-toolkit) export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/jaymalla/SAP/apache-ant-1.10.1/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin"
9:27:21 AM (hybrid-toolkit)
9:27:21 AM (hybrid-toolkit) Signing Identity: "-"
9:27:21 AM (hybrid-toolkit)
9:27:21 AM (hybrid-toolkit) /usr/bin/codesign --force --sign - --timestamp=none /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/emulator/KapselMasterDetail.app
9:27:21 AM (hybrid-toolkit) /Users/jaymalla/SAPHybrid/JaysKapselMasterDetail/hybrid/platforms/ios/build/emulator/KapselMasterDetail.app: replacing existing signature
9:27:45 AM (hybrid-toolkit) processing...
9:27:48 AM (hybrid-toolkit)
9:27:48 AM (hybrid-toolkit) ** BUILD SUCCEEDED **
9:27:48 AM (hybrid-toolkit)

After the BUILD SUCCEEDED message appears, I am expecting the application to show in the iOS simulator, but it does not. I am not sure why?

The Hybrid application settings seems correct - the test connection works.

Thanks,

Jay

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jay Malla Apr 01, 2017 at 04:44 AM
0

The application did launch in the iOS simulator - but there was quite a bit of delay after the BUILD SUCCEEDED message.

Share
10 |10000 characters needed characters left characters exceeded