Skip to content

Commit

Permalink
Make message a print so it isn't missed. (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnno1962 authored and zenangst committed Dec 1, 2018
1 parent 24a2e33 commit 42a7851
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion InjectionBundle/SwiftInjection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public class SwiftInjection: NSObject {
if (classMetadata.pointee.Data & 0x1) == 1 {
// Swift equivalent of Swizzling
if classMetadata.pointee.ClassSize != existingClass.pointee.ClassSize {
NSLog("💉 ⚠️ Adding or removing methods on Swift classes is not supported. Your application will likely crash. ⚠️")
print("💉 ⚠️ Adding or removing methods on Swift classes is not supported. Your application will likely crash. ⚠️")
}

func byteAddr<T>(_ location: UnsafeMutablePointer<T>) -> UnsafeMutablePointer<UInt8> {
Expand Down

0 comments on commit 42a7851

Please sign in to comment.