Open hansemannn opened 7 years ago
Hi @hasemannn, I didn't use any special extension example - just the one in Xcode you get from choosing File > New Target | Document Provider with an empty app in XCode. I did try this with a new Document Provider from XCode8 (in the same directory as Titanium app as well) but got the same error. Do you have any examples of a working Document Provider in Titanium 6?
Also, if you run the Document Provider in this app in a Native iOS app, it works with no errors.
Alright, thanks. I only tried with extensions I used in other sample-apps (like this one), last tested with 5.5.0 I think. So it might indeed be a Titanium issue! I am just curious about the error, since Titanium simply links the targets and let the extensions do their own stuff.
If that's possible for you, could you validate if it broke between 5.5.0 and 6.0.0 or maybe 6.0.0 to 6.1.0? I will put it on our list anyway!
I only tested it on 5.4 (and it worked) and then again on 6.0 where it doesn't work. I can't seem to fully rollback to 5.4 and get the previous version to build with an older version of Titanium - if you have any suggestions on how I can revert to a old working version, I would be happy to test each step and come up with the breaking point.
Opened a JIRA for you: https://jira.appcelerator.org/browse/TIMOB-25025
You can download 5.5.1.GA by using appc ti sdk install 5.5.1.GA
from the terminal and simply update the tiapp.xml to use it. Xcode 8 will work fine with it. That's extremely helpful, thank you!
I have added some more links of related issues in the native world (even one from yesterday). Most of them solved it by recreating the target, did you try that as well?
Hey @jeffbonnes,
besides the changes we talked about via mail (moving the extension to
<project-root>/extensions
), you might also want to check out the change made to the extension-example you were using. Please check with that example again to ensure everything is in sync. The Titanium part (building, linking) works well, so the remaining issues have to be regarding the native side.