I am having an issue getting Xcode 9.2 and the Particle-SDK for IOS to work. When I don’t use any code and just build the project it compiles fine. It is only when I start to use the code on the GitHub site I have issues. I have run into these issues before, but found it was due to using frameworks in the Pod file.
I have added the header file and followed the directions in the GitHub Readme. Any help is very much appreciated.
Below are my Pod File and Errors on Xcode.
Here are my errors:
Here is my Pod File:
# Uncomment the next line to define a global platform for your project
platform :ios, ‘9.0’
target ‘Particle_Control’ do
Comment the next line if you’re not using Swift and don’t want to use dynamic frameworks
#use_frameworks!
Pods for Particle_Control
target ‘Particle_ControlTests’ do
pod “Particle-SDK”
inherit! :search_paths
# Pods for testing
end
target ‘Particle_ControlUITests’ do
inherit! :search_paths
# Pods for testing
end
Thank you!
This is a swift project using Cocoa Pods.I get the same errors even when adding the (2) import statements. I am currently using #import “Particle-SDK.h”, as this matches my cocoa pod file. I used the directions that re on the GitHub page.
The project will compile with no code, it isn’t until I try and setup the project and write code that I get these errors.