Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27451] App crashes when calling a function in module using swift language.

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2019-10-08T23:59:34.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterNazmus Salahin
AssigneeUnknown
Created2019-10-08T05:59:13.000+0000
Updated2019-10-08T23:59:35.000+0000

Description

One enterprise customer trying to build ios Module using swift language, just to test how to call the function which was implemented in the module. They have added the function "testFromAppc" in module code and trying to call them in appcelerator project while running the app in simulator app crashes. *Crash log:*
[DEBUG] : ACA crash.report: {
[DEBUG] : "aca_version" = "1.4.1";
[DEBUG] : message = "signal error code: 11";
[DEBUG] : meta = {
[DEBUG] : handled = 0;
[DEBUG] : };
[DEBUG] : stack = (
[DEBUG] : "TitaniumKit 0x000000010be4ea46 TiSignalHandler + 129\nlibsystem_platform.dylib 0x00007fff51414b5d _sigtramp + 29\nTitaniumKit 0x000000010be1f110 KrollGetProperty + 250\nTitaniumKit 0x000000010be3bebb TiBindingEventProcess + 667\nTitaniumKit 0x000000010be5c6d4 -[KrollContext invoke:] + 109\nTitaniumKit 0x000000010be5c747 -[KrollContext enqueue:] + 93\nTitaniumKit 0x000000010be63c86 TiBindingRunLoopEnqueue + 77\nTitaniumKit 0x000000010be625f6 -[TiProxy fireEvent:withObject:withSource:propagate:reportSuccess:errorCode:message:] + 170\nTitaniumKit 0x000000010be43e89 -[TiViewProxy fireEvent:withObject:withSource:propagate:reportSuccess:errorCode:message:] + 182\nTitaniumKit 0x000000010be13e10 -[TiWindowProxy windowDidOpen] + 110"
[DEBUG] : );
[DEBUG] : }
*Test code:* See the attachment section. *Test steps:* 1. Open Appcelerator studio and import the MSALTest app in the Appcelerator studio. 2. Then install the LibIntuneMSAL module and add the LibIntuneMSAL module in the module section. 3. Run the project on a simulator. *Appc info:*
Appcelerator Command-Line Interface, version 7.1.1
Copyright (c) 2014-2019, Appcelerator, Inc.  All Rights Reserved.

Operating System
  Name                        = Mac OS X
  Version                     = 10.14.6
  Architecture                = 64bit
  # CPUs                      = 12
  Memory                      = 16.0GB

Node.js
  Node.js Version             = 8.9.1
  npm Version                 = 6.11.3

Appcelerator CLI
  Installer                   = 4.2.15
  Core Package                = 7.1.1

Titanium CLI
  CLI Version                 = 5.2.1
  node-appc Version           = 0.2.49

Titanium SDKs
  8.3.0.v20190904
    Version                   = 8.3.0
    Install Location          = /Users/m_190034/Library/Application Support/Titanium/mobilesdk/osx/8.3.0.v20190904
    Platforms                 = iphone, android
    git Hash                  = fdf042a
    git Timestamp             = 9/4/2019 12:41
    node-appc Version         = 0.3.3
  8.2.0.v20190910
    Version                   = 8.2.0
    Install Location          = /Users/m_190034/Library/Application Support/Titanium/mobilesdk/osx/8.2.0.v20190910
    Platforms                 = iphone, android
    git Hash                  = 703389ea1b
    git Timestamp             = 9/10/2019 19:32
    node-appc Version         = 0.3.4
  8.2.0.GA
    Version                   = 8.2.0
    Install Location          = /Users/m_190034/Library/Application Support/Titanium/mobilesdk/osx/8.2.0.GA
    Platforms                 = iphone, android
    git Hash                  = 6bfdf6e394
    git Timestamp             = 9/17/2019 17:13
    node-appc Version         = 0.3.4
  8.1.1.GA
    Version                   = 8.1.1
    Install Location          = /Users/m_190034/Library/Application Support/Titanium/mobilesdk/osx/8.1.1.GA
    Platforms                 = iphone, android
    git Hash                  = 0148ee6e79
    git Timestamp             = 8/29/2019 14:08
    node-appc Version         = 0.3.3
  8.1.0.GA
    Version                   = 8.1.0
    Install Location          = /Users/m_190034/Library/Application Support/Titanium/mobilesdk/osx/8.1.0.GA
    Platforms                 = iphone, android
    git Hash                  = 84c6734b2d
    git Timestamp             = 8/12/2019 18:33
    node-appc Version         = 0.3.3
  8.0.2.GA
    Version                   = 8.0.2
    Install Location          = /Users/m_190034/Library/Application Support/Titanium/mobilesdk/osx/8.0.2.GA
    Platforms                 = iphone, android
    git Hash                  = a12da5b9ce
    git Timestamp             = unknown
    node-appc Version         = 0.2.47
  7.5.1.GA
    Version                   = 7.5.1
    Install Location          = /Users/m_190034/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA
    Platforms                 = iphone, android
    git Hash                  = 4b82d9d6b2
    git Timestamp             = 2/25/2019 23:48
    node-appc Version         = 0.2.47
  7.4.1.GA
    Version                   = 7.4.1
    Install Location          = /Users/m_190034/Library/Application Support/Titanium/mobilesdk/osx/7.4.1.GA
    Platforms                 = iphone, android
    git Hash                  = f47cf79a83
    git Timestamp             = 10/8/2018 17:44
    node-appc Version         = 0.2.45
 
Mac OS X
  Command Line Tools          = installed

Intel® Hardware Accelerated Execution Manager (HAXM)
  Not installed

Java Development Kit
  Version                     = 1.8.0_162
  Java Home                   = /Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home

Genymotion
  Path                        = not found
  Genymotion Executable       = not found
  Genymotion Player           = not found
  Home                        = not found

VirtualBox
  Executable                  = not found
  Version                     = unknown

Android SDK
  Android Executable          = not found
  ADB Executable              = not found
  SDK Path                    = not found

Android NDK
  NDK Path                    = not found
  NDK Version                 = not found

Android Platforms
  None

Android Add-Ons
  None

Android Emulators
  None

Genymotion Emulators
  None

Connected Android Devices
  None

Xcode
  11.0 (build 11A420a) - Xcode default
    Install Location          = /Applications/Xcode.app/Contents/Developer
    iOS SDKs                  = 13.0
    iOS Simulators            = 13.0
    Watch SDKs                = 6.0
    Watch Simulators          = 6.0
    Supported by TiSDK 8.3.0.v20190904 = yes
    EULA Accepted             = yes
    Teams                     = none
  11.0 (build 11A419c)
    Install Location          = /Applications/Xcode_Beta.app/Contents/Developer
    iOS SDKs                  = 13.0
    iOS Simulators            = 13.0
    Watch SDKs                = 6.0
    Watch Simulators          = 6.0
    Supported by TiSDK 8.3.0.v20190904 = yes
    EULA Accepted             = yes
    Teams                     = none
  10.1 (build 10B61)
    Install Location          = /Applications/Xcode10_1.app/Contents/Developer
    iOS SDKs                  = 12.1
    iOS Simulators            = 12.1
    Watch SDKs                = 5.1
    Watch Simulators          = 5.1
    Supported by TiSDK 8.3.0.v20190904 = yes
    EULA Accepted             = yes
    Teams                     = none
 
iOS Keychains
  login.keychain-db           = /Users/m_190034/Library/Keychains/login.keychain-db
  System.keychain             = /Library/Keychains/System.keychain

iOS Development Certificates


iOS App Store Distribution Certificates


Apple WWDR Certificate
  Apple WWDR                  = installed

Development iOS Provisioning Profiles
     
 
App Store Distribution iOS Provisioning Profiles
  None

Ad Hoc iOS Provisioning Profiles
  None

Enterprise Ad Hoc iOS Provisioning Profiles
  
 
iOS Simulators
12.1
  iPad Air (ipad)
    UDID                      = 66A67BAA-CEB2-48AF-810D-46381078DE8E
    Supports Watch Apps       = no
  iPad Air 2 (ipad)
    UDID                      = E36F5837-E29C-4856-8928-B212FBB72122
    Supports Watch Apps       = no
  iPad (5th generation) (ipad)
    UDID                      = 2F0142BC-A5DD-4A01-B101-B0FE5D53D09E
    Supports Watch Apps       = no
  iPad Pro (9.7-inch) (ipad)
    UDID                      = 8F7E7B00-C761-4533-B500-8CFBE6125E91
    Supports Watch Apps       = no
  iPad Pro (12.9-inch) (ipad)
    UDID                      = 2E0D3FB0-03BD-466D-905A-C8ECEA9BB347
    Supports Watch Apps       = no
  iPad Pro (12.9-inch) (2nd generation) (ipad)
    UDID                      = C2BFEEA0-8BAC-4A8D-ACFD-5C5112E2E7FF
    Supports Watch Apps       = no
  iPad Pro (10.5-inch) (ipad)
    UDID                      = F024A076-C86C-43DF-BE78-8EACFB3FDCD0
    Supports Watch Apps       = no
  iPad (6th generation) (ipad)
    UDID                      = B030B5E9-5778-4086-994D-CC36EED93B9C
    Supports Watch Apps       = no
  iPad Pro (11-inch) (ipad)
    UDID                      = D25D92E4-5B48-4541-BFFA-E21980094093
    Supports Watch Apps       = no
  iPad Pro (12.9-inch) (3rd generation) (ipad)
    UDID                      = 5FA67CE4-2C4E-47C2-849C-B4E1597BE2D7
    Supports Watch Apps       = no
  iPhone 8 (iphone)
    UDID                      = 697C0741-22E9-466C-A14F-4C373BF9C9BD
    Supports Watch Apps       = yes
  iPhone 8 Plus (iphone)
    UDID                      = 8C2A7A63-ADFA-4B08-8A34-888FB3CF7A46
    Supports Watch Apps       = yes
  iPhone X (iphone)
    UDID                      = DFF032D7-1B38-45F4-AAFD-4C84DAC66F93
    Supports Watch Apps       = yes
  iPhone XS (iPhone Xs) (iphone)
    UDID                      = AA3D2725-221F-463F-AC1E-31E75A7B03AF
    Supports Watch Apps       = yes
  iPhone XS Max (iPhone Xs Max) (iphone)
    UDID                      = 8790331A-3860-498F-B113-875CF6BA5813
    Supports Watch Apps       = yes
  iPhone XR (iPhone Xʀ) (iphone)
    UDID                      = 7CD48DBE-3496-4674-9295-8BEC76ADBD22
    Supports Watch Apps       = yes
  iPhone 5s (iphone)
    UDID                      = D0506D16-2F23-4848-840B-ED258660E11D
    Supports Watch Apps       = yes
  iPhone 6 Plus (iphone)
    UDID                      = F353F5B8-AB3C-4E84-A8BA-2658FC4DC42A
    Supports Watch Apps       = yes
  iPhone 6 (iphone)
    UDID                      = 2872C851-EE2D-4DFE-A316-0532F237C01A
    Supports Watch Apps       = yes
  iPhone 6s (iphone)
    UDID                      = 01037EA5-AAE6-4390-96B7-44C1FE0CF817
    Supports Watch Apps       = yes
  iPhone 6s Plus (iphone)
    UDID                      = C40E90FB-F3B2-4D2A-8C60-2E4AAD4AA8A9
    Supports Watch Apps       = yes
  iPhone SE (iphone)
    UDID                      = 8862FF27-35E4-4EAF-B6FB-DF7A0C42637F
    Supports Watch Apps       = yes
  iPhone 7 (iphone)
    UDID                      = 8D900CE6-6ABA-4EE1-8951-076E3F291194
    Supports Watch Apps       = yes
  iPhone 7 Plus (iphone)
    UDID                      = 05C42CE3-873F-4F57-9466-19BDBF009C00
    Supports Watch Apps       = yes

12.2
  iPad Air (3rd generation) (ipad)
    UDID                      = 6FAE47A6-DB92-40C6-BDEA-5B137022E150
    Supports Watch Apps       = no
  iPad Air (ipad)
    UDID                      = 8297EF33-98A9-4B8B-A78B-ECF0ADEBD49D
    Supports Watch Apps       = no
  iPad Air 2 (ipad)
    UDID                      = 3EEC272D-A227-4B40-94AE-A1121A4E0A3B
    Supports Watch Apps       = no
  iPad (5th generation) (ipad)
    UDID                      = F5EC7EA2-92D4-44B8-9110-1D35C59F2886
    Supports Watch Apps       = no
  iPad Pro (9.7-inch) (ipad)
    UDID                      = 364C4F00-AB93-42D8-A7CF-BF6E175854D0
    Supports Watch Apps       = no
  iPad Pro (12.9-inch) (ipad)
    UDID                      = 9AAA3A67-22DE-4378-956D-B5D5B52336DD
    Supports Watch Apps       = no
  iPad Pro (12.9-inch) (2nd generation) (ipad)
    UDID                      = 9521C846-D6B4-456D-9913-E930B4D17A2C
    Supports Watch Apps       = no
  iPad Pro (10.5-inch) (ipad)
    UDID                      = ABACCC30-8E62-4593-986F-16E83577D842
    Supports Watch Apps       = no
  iPad (6th generation) (ipad)
    UDID                      = D2AF60C3-D47C-4694-A6D1-04BF50028E63
    Supports Watch Apps       = no
  iPad Pro (11-inch) (ipad)
    UDID                      = BAF66DD5-DA8A-4BF7-AAFF-552112A50884
    Supports Watch Apps       = no
  iPad Pro (12.9-inch) (3rd generation) (ipad)
    UDID                      = 59D7CC61-DEB7-4C47-A1F0-E16C8D81F79B
    Supports Watch Apps       = no
  iPhone 8 (iphone)
    UDID                      = 859DAC18-36DD-4154-A851-A0ECB81EA1C5
    Supports Watch Apps       = yes
  iPhone 8 Plus (iphone)
    UDID                      = B4DE212B-EAE1-4A5A-9B81-02CC78675687
    Supports Watch Apps       = yes
  iPhone X (iphone)
    UDID                      = 69AF3B9E-F59B-4704-961B-BAD8809ABBCB
    Supports Watch Apps       = yes
  iPhone Xs (iphone)
    UDID                      = 25FD41B2-8441-4765-8B8A-5C75AF6F528E
    Supports Watch Apps       = yes
  iPhone Xs Max (iphone)
    UDID                      = 35A0B9C6-8467-40C6-BF80-BF350A335014
    Supports Watch Apps       = yes
  iPhone Xʀ (iphone)
    UDID                      = 1E640DB6-C3D2-4D39-B829-333CAA1B907D
    Supports Watch Apps       = yes
  iPhone 5s (iphone)
    UDID                      = 390C3155-B7FA-43F5-93E3-2895BFD28A37
    Supports Watch Apps       = yes
  iPhone 6 Plus (iphone)
    UDID                      = FA56C6A4-8E15-4AB7-B52F-CF3BF68D7904
    Supports Watch Apps       = yes
  iPhone 6 (iphone)
    UDID                      = D6DC6B0C-F8D6-4870-9071-E588D858F186
    Supports Watch Apps       = yes
  iPhone 6s (iphone)
    UDID                      = A6302F49-8106-44D5-9882-59EFD057114E
    Supports Watch Apps       = yes
  iPhone 6s Plus (iphone)
    UDID                      = ACC3808B-B485-4063-9662-E5BC11E8E5DE
    Supports Watch Apps       = yes
  iPhone SE (iphone)
    UDID                      = 9EE958C4-4B08-444B-A30B-55D1A907EBBB
    Supports Watch Apps       = yes
  iPhone 7 (iphone)
    UDID                      = 672A9024-DF7B-4F72-8582-7292FEF16146
    Supports Watch Apps       = yes
  iPhone 7 Plus (iphone)
    UDID                      = E50F1308-A335-4CEB-A4DB-08FF63C48B7A
    Supports Watch Apps       = yes

13.0
  iPad Air (3rd generation) (ipad)
    UDID                      = 3A381347-235D-4B91-A4D7-7B90CCDA2F84
    Supports Watch Apps       = no
  iPad Pro (9.7-inch) (ipad)
    UDID                      = B9532510-149C-4A0D-AFCE-D835AA6488BF
    Supports Watch Apps       = no
  iPad Pro (11-inch) (ipad)
    UDID                      = B073FEF9-542F-4576-A86C-22864B8EDF60
    Supports Watch Apps       = no
  iPad Pro (12.9-inch) (3rd generation) (ipad)
    UDID                      = 5AE5B3B4-8AB3-4CCC-9354-B0C237B677D8
    Supports Watch Apps       = no
  iPhone 8 (iphone)
    UDID                      = 53F1B9BD-D9FB-48A6-B319-D61C10D61A7F
    Supports Watch Apps       = yes
  iPhone 8 Plus (iphone)
    UDID                      = 58B1404A-9341-4CE6-83C7-1C28959A7FF6
    Supports Watch Apps       = yes
  iPhone 11 Pro (iphone)
    UDID                      = 49511E6D-532D-4946-98E4-D345E7DE7CDA
    Supports Watch Apps       = yes
  iPhone 11 Pro Max (iphone)
    UDID                      = D2C01823-A376-4A79-B710-65C6A0D2FC8C
    Supports Watch Apps       = yes

WatchOS Simulators
5.1
  Apple Watch Series 2 - 38mm (watch)
    UDID                      = C3E60232-12F2-488D-A24F-1F00BDC55866
  Apple Watch Series 2 - 42mm (watch)
    UDID                      = 424C3496-B591-41AC-B2CE-BCD3CE332BCF
  Apple Watch Series 3 - 38mm (watch)
    UDID                      = 96FB9E0C-1209-4878-9514-227A470943A8
  Apple Watch Series 3 - 42mm (watch)
    UDID                      = 339D0AB3-988D-4165-AEDF-68B523E4EF22
  Apple Watch Series 4 - 40mm (watch)
    UDID                      = 8885B9A8-F4B7-4922-B06B-1252BEC2D6D6
  Apple Watch Series 4 - 44mm (watch)
    UDID                      = 3A42A437-3D50-4704-BA92-E17685119203

6.0
  Apple Watch Series 4 - 40mm (watch)
    UDID                      = EE6FDB00-A16B-4609-846B-9F9B282C9ADD
  Apple Watch Series 4 - 44mm (watch)
    UDID                      = A1DB50AA-9B43-4584-BF55-F482209940A4
  Apple Watch Series 5 - 40mm (watch)
    UDID                      = 6BF1406C-132A-4CF3-A269-7736D7343995
  Apple Watch Series 5 - 44mm (watch)
    UDID                      = 28962739-4C84-47C3-8359-57E2A8659AC8

Connected iOS Devices
  None

Android Issues
  !  Unable to locate an Android NDK.
     Without the NDK, you will not be able to build native Android Titanium modules.
     If you have already downloaded and installed the Android NDK, you can tell Titanium where the
     Android NDK is located by running 'appc titanium config android.ndkPath /path/to/android-ndk',
     otherwise you can install it by running 'appc titanium setup android' or manually downloading
     from http://appcelerator.com/android-ndk.

  ✕  Unable to locate an Android SDK.
     If you have already downloaded and installed the Android SDK, you can tell Titanium where the
     Android SDK is located by running 'appc titanium config android.sdkPath /path/to/android-sdk',
     otherwise you can install it by running 'appc titanium setup android' or manually downloading
     from http://appcelerator.com/android-sdk.

iOS Issues
  !  Unable to find any valid iOS adhoc provisioning profiles.
     This will prevent you from packaging apps for adhoc distribution.
     You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer
     account, then create, download, and install a profile.

  !  Unable to find any valid iOS distribution provisioning profiles.
     This will prevent you from packaging apps for AppStore distribution.
     You will need to log in to http://appcelerator.com/ios-dist-certs with your Apple Developer
     account, then create, download, and install a profile.

Attachments

FileDateSize
appcinfo.rtf2019-10-08T05:13:21.000+000021676
LibIntuneMSAL.zip2019-10-08T05:13:52.000+000040650
MSALTest.zip2019-10-08T05:14:02.000+00005840565

Comments

No comments

JSON Source