Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23242] iOS: AppleWatch 3rd party compatibility

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionHold
Resolution Date2018-07-27T17:39:50.000+0000
Affected Version/sRelease 5.2.2
Fix Version/sn/a
ComponentsiOS, Tooling
LabelswatchOS2
Reporter Ricardo Ramirez
AssigneeHans Knöchel
Created2016-04-19T23:21:05.000+0000
Updated2018-07-27T21:21:26.000+0000

Description

Issue Description

Trying to add analytics to an Apple Watch app, which is integrated with a Titanium app. We are able to open the Watch App project and add the SDK, creating the necessary library dependencies. It builds successfully. But when we try to build via Appcelerator Studio (or command line), the project gets altered when it is integrated into the dynamically-generated Xcode project. The folder with the Flurry SDK is not present in the Appcelerator-built project. The library references we've made in the original project show up as "ghost" references. *See attached screenshots for a comparison of the projects. Due to the missing files, compilation fails with /Users/USER/svn/source/wral/applications/mobile/wralnews/build/iphone/extensions/WRAL/WRAL WatchApp Extension/Home.m:10:9: fatal error: 'FlurryWatch.h' file not found #import "FlurryWatch.h"

Steps to replicate

Download the project from here: https://drive.google.com/file/d/0BwTWo-c2a0b9SW02VjNoQmR4cEU/view?usp=sharing

Copy the GUID key from any other created project

Replace it Guid key on the imported project

Run

Expected behavior

Titanium watch app should recognize 3rd party modules like Flurry

Attachments

FileDateSize
xcode_project_appcelerator.png2016-04-19T22:50:15.000+0000100218
xcode_project_original.png2016-04-19T22:50:12.000+0000101133

Comments

  1. Chee Kiat Ng 2016-05-04

    See related ticket. That fix might be able to help with this.

JSON Source