Comments (18)
I see! Tested the zip form 6.0.8 and it compiles both in simulators and devices. Thanks!
from swift-sdk.
This could be related to an MacOS/Xcode issue that some other users are having.
Can you please upgrade to latest MacOS and Xcode 10.2? Also if possible can you please attach a sample project with problem.
from swift-sdk.
Yes this no longer occurs in Xcode Version 10.2.1 (10E1001). Thanks!
from swift-sdk.
I'm still having issues. As I previously said, the project now compiles with the manual installation and Xcode version 10.2.1. I can even import the framework successfully:
@import IterableSDK;
But when I try to initialize the SDK with:
IterableConfig *config = [[IterableConfig alloc] init];
config.pushIntegrationName = @"<your-iterable-push-integration-name>";
[IterableAPI initializeWithApiKey:@"<your-api-key>" launchOptions:launchOptions config:config]
Xcode tells me:
Use of undeclared identifier 'IterableConfig'
What am I missing?
from swift-sdk.
Here you can find a single view Xcode project in which I integrated the SDK v6.0.8 manually and that shows the error mentioned above: https://www.dropbox.com/s/yizfigxh2vfy3v3/IterableTest_ManualInstallation.zip?dl=0
from swift-sdk.
@PSBT You may have helped me repro an issue that others were having :-). It appears that after Xcode 10.2 upgrade, objc projects are having the problem that you are having. I am looking into this.
related-issue
This problem seems to be restricted to objc code when using simulators. In the meantime can you please confirm that. your code will compile when using 'Generic iOS Device' or an actual 'iPhone'?
from swift-sdk.
If I don't add:
IterableConfig *config = [[IterableConfig alloc] init];
config.pushIntegrationName = @"<your-iterable-push-integration-name>";
[IterableAPI initializeWithApiKey:@"<your-api-key>" launchOptions:launchOptions config:config]
Then it compiles in both simulators and device. If I add the code above then it doesn't compile anywhere.
from swift-sdk.
@PSBT Thank you so much. I have reproduced this issue and I am working on it as mentioned in my previous comment. In the meantime, can you please compile using real device and not simulator. That will compile and get you going while I work in the fix.
from swift-sdk.
Hmm.. it it is compiling on real device for me.
from swift-sdk.
Sorry! It's also compiling for device for me!
from swift-sdk.
Great. You have helped me repro an issue. I will keep working on the fix while you work on real device in the meantime.
from swift-sdk.
Great!
from swift-sdk.
Can you please try this zip file?
IterableSDK.zip
from swift-sdk.
Yes. Now it compiles in the simulators!
from swift-sdk.
When can we expect an official release with this fix? Thanks!
from swift-sdk.
@PSBT I have added the correct zip files to the release. I have also updated our zip generation scripts.
I am closing this issue. Please reopen if the latest zip does not solve this problem for you. Thanks!
from swift-sdk.
Sorry I don't see a new release in https://github.com/Iterable/swift-sdk/releases.
from swift-sdk.
It is the same release 6.0.8 here.
I have just updated the zip files there since there is no code change.
from swift-sdk.
Related Issues (20)
- Mobile App inbox: Basic onClick message delegate is missing. HOT 1
- EXC_BAD_ACCESS KERN_INVALID_ADDRESS Crash when syncing message dictionary in InAppManager
- handle(universalLink) does not behave as described. HOT 2
- If initial JWT token request fails, SDK doesn't ever request a new one HOT 2
- In-app messages black background does not expand to full height of phone screen HOT 1
- 6.4.12 contains semver-breaking API change HOT 2
- Type 'ReactIterableAPI' does not conform to protocol 'IterableAuthDelegate' HOT 1
- If the in-app message's position not being set to "full", the in-app will auto disappear with animation and app freezes on some devices HOT 2
- SPM Integration HOT 1
- Crash in RequestHandler.swift with InternalIterableAPI Initialization HOT 11
- InAppDisplayer: We need a way to set the `topViewController`
- [Bug]: crash on NWPathMonitor HOT 1
- After updating Iterable to 6.4.17 Circle CI pipeline is failing - ❌ error: Build input file cannot be found: '/Users/distiller/project/Pods/Iterable-iOS-SDK/swift-sdk/Internal/DependencyContainerProtocol.swift'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it? (in target 'Iterable-iOS-SDK' from project 'Pods')
- Add Privacy Manifest HOT 6
- Image as Attachment in Push Notification payload doesn't get displayed
- Rename the package sdk something different than `swift-sdk` HOT 4
- Add OnSuccessHandler and OnFailureHandler to logoutUser() function HOT 1
- Swift access race in IterableSDK.Pending.onSuccess
- Making a `getMessages` once per day
- Thread Performance Checker failure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-sdk.