Results 1 to 3 of 3
  1. #1

    Unhappy IOS Framework - Include of non-modular header inside framework module


    I'm trying to include Lightstreamer IOS in a new Swift Cocoa Touch Framework. I'm using Xcode 7.3.1 and receive this error.

    #import <LightstreamerClientAll.h>

    /Users/matt/projects/MyProject/MyProject/TSBrokers/TSBrokers-Bridging-Header.h:17:9: error: include of non-modular header inside framework module 'TSBrokers.TSBrokers_Bridging_Header'
    I've tried the two below pod's

    pod 'Lightstreamer_iOS_Client', '2.0.0'pod 'Lightstreamer_iOS_Client', '2.0.1'

    And I've also tried directly importing the framework in a new project but still get the same error.

    Any help to get this to compile would be greatly appreciated.

  2. #2
    Join Date
    Feb 2012
    Bologna, Italy

    I couldn't reproduce the problem. Using CocoaPods 1.0.0, our client library version 2.0.1 and a simple podfile (even using "use_frameworks!"), I could compile a sample framework correctly and use the client.

    From what I can read on this Q&A on StackOverflow, this error is usually due to the inclusion of system headers file between the headers files of the framework (typically as a dependency). Our library does not make any such inclusion, so it could be due to something else.

    If you still believe the error is caused by our library, please contact and send us a zip with a sample project that exhibits the error, and we will investigate the problem further.

    Best regards,


  3. #3
    Hi Gianluca,

    Many thanks for responding.

    I got a completely different response for a Swift framework.

    Swift does not allow the use of a bridging header for frameworks, so I had to manually link the headers.

    This stack overflow article helped me get to a solution for Xcode 8.

    - matt.



Similar Threads

  1. Viewing IP supplied in HTTP header
    By johnffoley in forum Client SDKs
    Replies: 1
    Last Post: November 21st, 2011, 09:59 AM
  2. Adding a http Header to a client connection
    By ned_b in forum Client SDKs
    Replies: 4
    Last Post: August 24th, 2011, 10:31 AM
  3. Client validation inside subscribe call
    By antiGuru in forum Adapter SDKs
    Replies: 1
    Last Post: February 5th, 2010, 09:55 AM
  4. Demo not working within my framework...
    By athanasius2 in forum General
    Replies: 3
    Last Post: April 17th, 2009, 12:40 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 07:58 AM.