Skip to content

can not work #11

Description

@XingZhiKe

hi, I want do something to check if the framework api has change.
Luchly, I find this repo and I try to use this tool.
But, I find some issues. And I don't know how to use it.

one example is "/Users/XXX/Library/Developer/Xcode/DerivedData/OCDiff-hikvzhfsgbawgecwoclndvotqloi/Build/Products/Debug/objc-diff --sdk iphonesimulator --new /Users/XXX/TTTManager/1.0.7/TTT.framework --html apidiff"
And I find some error,like this:

  1. XXXXXXXX.h:40:4: error: expected a type;
    the type is CGFloat,which in system framework
    2.XXXXXXXX.h:20:1: error: unknown type name 'UIKIT_EXTERN'
    UIKIT_EXTERN is a macro which in system framework

Can you write same example which use --args to specific header search path.
I use "--newargs -I/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers"
to find CGFloat.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions