You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am using version": "0.8.9". I was adding a target using addTarget(tgtNameStr, 'app_extension'), but the resultant target is set as .undefined.
It looks like the function defaultExtension is creating an issue in pbxFile.js
var filetype = fileRef.lastKnownFileType || fileRef.explicitFileType;
This is settings filetype to unknown since fileRef.lastKnownFileType gets set as such in pbxFile().
After changing the order here, to pick explicitFileType first if present, the following condition created an issue
because FILETYPE_BY_EXTENSION[unquoted(extension)] was evaluating to wrapper.app-extension whereas filetype was "wrapper.app-extension", with the quotes.
It is working for me after I made 2 changes
var filetype = fileRef.explicitFileType || fileRef.lastKnownFileType;
Hi,
I am using version": "0.8.9". I was adding a target using
addTarget(tgtNameStr, 'app_extension')
, but the resultant target is set as .undefined.It looks like the function defaultExtension is creating an issue in pbxFile.js
var filetype = fileRef.lastKnownFileType || fileRef.explicitFileType;
This is settings filetype to unknown since fileRef.lastKnownFileType gets set as such in pbxFile().
After changing the order here, to pick explicitFileType first if present, the following condition created an issue
if(FILETYPE_BY_EXTENSION[unquoted(extension)] === filetype )
because FILETYPE_BY_EXTENSION[unquoted(extension)] was evaluating to wrapper.app-extension whereas filetype was "wrapper.app-extension", with the quotes.
It is working for me after I made 2 changes
var filetype = fileRef.explicitFileType || fileRef.lastKnownFileType;
if(FILETYPE_BY_EXTENSION[unquoted(extension)] === unquoted(filetype) )
Not sure if this is the right way to handle this since the function is a common one. Please take a look.
Regards
Anjana
The text was updated successfully, but these errors were encountered: