magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

Latest Release is built using profile. #1056

Closed 256dpi closed 8 years ago

256dpi commented 9 years ago

It looks like that the latest releases MagicalRecord.framework.zip has been built using profiling.

I get this when I quit my app:

profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObjectContext+MagicalChainSave.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalRecord+iCloud.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSAttributeDescription+MagicalDataImport.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalRecord+Setup.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSRelationshipDescription+MagicalDataImport.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObjectModel+MagicalRecord.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalRecordInternal.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalRecord+Actions.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalRecord+Options.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObjectContext+MagicalRecord.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSNumber+MagicalDataImport.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalRecord+ErrorHandling.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObjectContext+MagicalSaves.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalRecord+ShorthandMethods.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSPersistentStore+MagicalRecord.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSEntityDescription+MagicalDataImport.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalImportFunctions.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObject+MagicalRecord.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObjectContext+MagicalThreading.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObject+MagicalAggregation.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObject+MagicalDataImport.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSPersistentStoreCoordinator+MagicalRecord.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSString+MagicalDataImport.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObject+MagicalFinders.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObject+MagicalRequests.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSManagedObjectContext+MagicalObserving.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/NSObject+MagicalDataImport.gcda: cannot open: No such file or directory
profiling: /Users/tonyarnold/Library/Developer/Xcode/DerivedData/MagicalRecord-dxxafrvrwtuxyfequuvzcxytdgmp/Build/Intermediates/MagicalRecord.build/Release/MagicalRecord for OS X.build/Objects-normal/x86_64/MagicalRecord_vers.gcda: cannot open: No such file or directory
tonyarnold commented 9 years ago

Well that's embarrassing :grin:

pablokabbee commented 8 years ago

Any update on this? Thanks

256dpi commented 8 years ago

@tonyarnold Could you please ship a bugfix release with a new build? I'm working on an app right now that uses MagicalRecord and its starts to get really annoying. Thanks in advance!

256dpi commented 8 years ago

Or maybe you could just consider reuploading the MagicalRecord.framework.zip on the releases page?

tonyarnold commented 8 years ago

I've just uploaded an updated binary — I've no idea if it fixes the problem reported though. Could someone share a sample project that demonstrates the issue with me?

256dpi commented 8 years ago

Yes, sadly it didn't fix the problem.

The problem is that somehow code coverage gets activated on the Release build. In the example here, they create an additional build configuration for that: https://developer.apple.com/library/ios/qa/qa1514/_index.html

Maybe that solves the problem?

sakrist commented 8 years ago

@256dpi @pablokabbee @tonyarnold it's because of those options GCC_INSTRUMENT_PROGRAM_FLOW_ARCS GCC_GENERATE_TEST_COVERAGE_FILES they are usually marked with NO.

I think they needs to be off for release version.

tonyarnold commented 8 years ago

The version that's up now should be built using Release profile. Let me know if it's still not.

256dpi commented 8 years ago

Thanks! Problem solved.