What happened?
I have an empty class
open class SwiftBaseVC:
}
defined in a CocoaPod module ExternalSwiftView.
And i define another child class which inherits SwiftBaseVC in another module ChildSwiftView:
public class SwiftChildVC2: SwiftBaseVC {
}
When i set all target BUILD_LIBRARY_FOR_DISTRIBUTION of all modules on and build.
class-dump can not output the info of the class SwiftChildVC2:
ipsw class-dump --arch arm64 --all --demangle -c SwiftChildVC2 TestIPSW
I also tried
ipsw swift-dump --demangle --arch arm64 -y SwiftChildVC2 TestIPSW
but got this:
class ChildSwiftView.SwiftChildVC2SwiftBaseVCExternalSwiftView.SwiftBaseVC {}
When i set BUILD_LIBRARY_FOR_DISTRIBUTION off, everything is fine.
The mach-o looks like this
When BUILD_LIBRARY_FOR_DISTRIBUTION is on:
The mach-o looks liek this
How can we reproduce this?
Use the project i uploaded, and build with BUILD_LIBRARY_FOR_DISTRIBUTION on for all of the pod targets.
ipsw version
Search
Code of Conduct
Additional context
No response
test_ipsw.zip
What happened?
I have an empty class
defined in a CocoaPod module
ExternalSwiftView.And i define another child class which inherits
SwiftBaseVCin another moduleChildSwiftView:When i set all target
BUILD_LIBRARY_FOR_DISTRIBUTIONof all modules on and build.class-dump can not output the info of the class SwiftChildVC2:
I also tried
but got this:
When i set
BUILD_LIBRARY_FOR_DISTRIBUTIONoff, everything is fine.The mach-o looks like this
When
BUILD_LIBRARY_FOR_DISTRIBUTIONis on:The mach-o looks liek this
How can we reproduce this?
Use the project i uploaded, and build with
BUILD_LIBRARY_FOR_DISTRIBUTIONon for all of the pod targets.ipsw version
Search
Code of Conduct
Additional context
No response
test_ipsw.zip