[TIMOB-12275] iOS: setting ti.facebook.appid property in tiapp.xml creates an invalid Info.plist file
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-12-10T22:21:17.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.0.2, Release 3.1.0, 2013 Sprint 02 JS, 2013 Sprint 02 |
Components | iOS |
Labels | qe-3.2.3, qe-testadded |
Reporter | Davide Cassenti |
Assignee | Sabil Rahim |
Created | 2013-01-14T03:43:38.000+0000 |
Updated | 2014-12-10T22:21:17.000+0000 |
Description
Problem description
When adding the property ti.facebook.appid in the tiapp.xml, the Info.plist file generated is invalid. Working fine on 2.1.4Steps to reproduce
1. create a new Titanium app in Studio 2. add the ti.facebook.appid property in tiapp.xml:
<property name="ti.facebook.appid">1234567890</property>
3. build the app, then open build/Info.plist
In the file, you can see under URL Types / Url Schemes that there is an item with value fb[Object object]; building the same app with SDK 2.1.4 shows the correct value fb1234567890.
Attachments
File | Date | Size |
---|---|---|
Info.plist | 2014-04-07T10:30:33.000+0000 | 1907 |
This is a really major bug, there is no way to overwrite to overwrite the wrong generated value and hence the app which depends entirely on Facebook cannot work.
PR merged for 3_0_X branch Made forward port to master branch 30x PR https://github.com/appcelerator/titanium_mobile/pull/3745 -- merged master PR https://github.com/appcelerator/titanium_mobile/pull/3775 -- merged
Process the 3_0_X PR and making the Forward Port
Closing as fixed. The correct value is shown in info.plist
Reopening this ticket as: 1.info.plist file does not show ti.facebook.appid property for Mobile project with appcelerator services. 2.While this works perfectly fine for mobile project without appcelerator services. 3.This is not a regression . This issue happens with 3.2.1.GA as well as 3.2.2.GA Configuration used: OSX: 10.9.2 Xcode:5.1 acs@1.0.14 alloy@1.3.1 npm@1.3.2 titanium@3.2.3-alpha2 titanium-code-processor@1.1.1-alpha Appcelerator Studio, build: 3.2.3.201404031900 SDK: 3.2.3.v20140403105720 Device :iPod touch (v7.1)
attaching info.plist file for Mobile project with Appcelerator services.
Sabil, FYI. Marked as a regression.
cannot reproduce the issue. tested with latest 3_2_X (3.2.3.v2014040310572) the url scheme shows up correctly
Reopening this ticket as: This issue is reproducible when project is enabled with appcelerator services. While this works perfectly fine for mobile project without appcelerator services. Configuration used: Appcelerator-Studio:3.3.0.201406171619 Sdk:3.3.0.v20140619164112 acs:1.0.14 alloy:1.4.0-rc npm:1.3.2 titanium:3.3.0-rc titanium-code-processor:1.1.1 xcode:5.1.1 OS:Maverick(10.9.3) Result: Unable to get expected facebook app id in info.plist.
Tested on: Mac OSX 10.9.3 Appcelerator Studio, build: 3.3.0.201406231625 Titanium SDK, build: 3.3.0.v20140623161712 Titanium CLI, build: 3.3.0-rc2 Alloy: 1.4.0-rc2 Followed test steps in description. Facebook appid property is added to the info.plist of an app that is both built for development and packaged for the store. +Extra Information+ Snippet from the info.plist
Re-resolving based on latest information.
Tested and verified the fix using Mac osx 10.9.5 Mavericks Appcelerator Studio, build: 3.4.0.201409261245 Titanium SDK, build: 3.4.1.v20141003114920 acs@1.0.18 alloy 1.5.1 install@0.1.7 npm@1.4.23 sudo@1.0.3 titanium 3.4.0 titanium-code-processor@1.1.1 Xcode6.1GM info.plist