Estimote / iOS-Fleet-Management-SDK

Estimote Fleet Management SDK for iOS
https://developer.estimote.com
MIT License
1.18k stars 398 forks source link

Header files are not copied via Cocoapods #269

Closed YMonnier closed 4 years ago

YMonnier commented 6 years ago

Hello,

I tried to add proximity events to my iOS app. I installed the Estimate iOS SDK via Cocoapods and following this tutorial:

...
Installing EstimoteSDK (5.0.0-alpha.2)
Generating Pods project
Integrating client project
Sending stats
...

It seems that the header files are not copied to the pod repository (see below):

screen shot 2017-10-13 at 11 35 23 pm

Some files are missing compared to your sample downloaded on your site (see below):

screen shot 2017-10-13 at 11 38 39 pm 2

You should update your pod repository. Thanks

alexjuda commented 6 years ago

Hey @YMonnier, can you please share your Podfile? Estimote SDK 5 is still in alpha stage and pod 'EstimoteSDK' should result in integrating Estimote SDK 4 (the stable one that example apps use).

Estimote SDK 5's code name is Proximity SDK - it's for detecting beacons and reacting to changes in physical context of the user, this should be enough in majority of use cases for apps with beacons. Beacon settings management will be handled differently in the future. This is why you don’t see many of the classes from Estimote SDK 4 in your project with Estimote SDK 5.

For more info, check out the blog post.

YMonnier commented 6 years ago

Hello @airalex,

Thank you for your reply. Below my Podfile:

# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'

def rx_swift
    pod 'RxSwift',    '~> 3.0'
    pod 'RxCocoa',    '~> 3.0'
    pod 'RxRealmDataSources'
    pod 'RxRealm'

    # Networking
    pod 'Moya/RxSwift'
    pod 'Moya-ObjectMapper/RxSwift'
end

target 'PNPC-iOS' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  # Pods for PNPC-iOS
  rx_swift

  # Keyboard Manager
  pod 'IQKeyboardManagerSwift', '4.0.10'

  # Animations/Transitions
  pod 'Hero', '~> 0.3'

  # Firebase Cloud Messaging
  pod 'Firebase/Core'
  pod 'Firebase/Messaging'

  # Estimote SDK
  pod 'EstimoteSDK', '5.0.0-alpha.2'

  target 'PNPC-iOSTests' do
    inherit! :search_paths
    # Pods for testing
  end

  target 'PNPC-iOSUITests' do
    inherit! :search_paths
    # Pods for testing
  end

end